Package org.apache.activemq.ra
Class InboundConnectionProxyFactory
- java.lang.Object
-
- org.apache.activemq.ra.InboundConnectionProxyFactory
-
- All Implemented Interfaces:
ConnectionFactory
,QueueConnectionFactory
,TopicConnectionFactory
public class InboundConnectionProxyFactory extends Object implements ConnectionFactory, QueueConnectionFactory, TopicConnectionFactory
AConnectionFactory
implementation which creates connections which can be used with the ActiveMQ JCA Resource Adapter to publish messages using the same underlying JMS session that is used to dispatch messages.
-
-
Constructor Summary
Constructors Constructor Description InboundConnectionProxyFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Connection
createConnection()
Connection
createConnection(String userName, String password)
QueueConnection
createQueueConnection()
QueueConnection
createQueueConnection(String userName, String password)
TopicConnection
createTopicConnection()
TopicConnection
createTopicConnection(String userName, String password)
-
-
-
Method Detail
-
createConnection
public Connection createConnection() throws JMSException
- Specified by:
createConnection
in interfaceConnectionFactory
- Throws:
JMSException
-
createConnection
public Connection createConnection(String userName, String password) throws JMSException
- Specified by:
createConnection
in interfaceConnectionFactory
- Throws:
JMSException
-
createQueueConnection
public QueueConnection createQueueConnection() throws JMSException
- Specified by:
createQueueConnection
in interfaceQueueConnectionFactory
- Throws:
JMSException
-
createQueueConnection
public QueueConnection createQueueConnection(String userName, String password) throws JMSException
- Specified by:
createQueueConnection
in interfaceQueueConnectionFactory
- Throws:
JMSException
-
createTopicConnection
public TopicConnection createTopicConnection() throws JMSException
- Specified by:
createTopicConnection
in interfaceTopicConnectionFactory
- Throws:
JMSException
-
createTopicConnection
public TopicConnection createTopicConnection(String userName, String password) throws JMSException
- Specified by:
createTopicConnection
in interfaceTopicConnectionFactory
- Throws:
JMSException
-
-