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
AConnectionFactoryimplementation 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 ConnectioncreateConnection()ConnectioncreateConnection(String userName, String password)QueueConnectioncreateQueueConnection()QueueConnectioncreateQueueConnection(String userName, String password)TopicConnectioncreateTopicConnection()TopicConnectioncreateTopicConnection(String userName, String password)
-
-
-
Method Detail
-
createConnection
public Connection createConnection() throws JMSException
- Specified by:
createConnectionin interfaceConnectionFactory- Throws:
JMSException
-
createConnection
public Connection createConnection(String userName, String password) throws JMSException
- Specified by:
createConnectionin interfaceConnectionFactory- Throws:
JMSException
-
createQueueConnection
public QueueConnection createQueueConnection() throws JMSException
- Specified by:
createQueueConnectionin interfaceQueueConnectionFactory- Throws:
JMSException
-
createQueueConnection
public QueueConnection createQueueConnection(String userName, String password) throws JMSException
- Specified by:
createQueueConnectionin interfaceQueueConnectionFactory- Throws:
JMSException
-
createTopicConnection
public TopicConnection createTopicConnection() throws JMSException
- Specified by:
createTopicConnectionin interfaceTopicConnectionFactory- Throws:
JMSException
-
createTopicConnection
public TopicConnection createTopicConnection(String userName, String password) throws JMSException
- Specified by:
createTopicConnectionin interfaceTopicConnectionFactory- Throws:
JMSException
-
-