org.apache.activemq.ra
Class InboundConnectionProxyFactory

java.lang.Object
  extended by org.apache.activemq.ra.InboundConnectionProxyFactory
All Implemented Interfaces:
ConnectionFactory, QueueConnectionFactory, TopicConnectionFactory

public class InboundConnectionProxyFactory
extends Object
implements ConnectionFactory, QueueConnectionFactory, TopicConnectionFactory

A ConnectionFactory 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
InboundConnectionProxyFactory()
           
 
Method Summary
 Connection createConnection()
           
 Connection createConnection(String userName, String password)
           
 QueueConnection createQueueConnection()
           
 QueueConnection createQueueConnection(String userName, String password)
           
 TopicConnection createTopicConnection()
           
 TopicConnection createTopicConnection(String userName, String password)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InboundConnectionProxyFactory

public InboundConnectionProxyFactory()
Method Detail

createConnection

public Connection createConnection()
                            throws JMSException
Specified by:
createConnection in interface ConnectionFactory
Throws:
JMSException

createConnection

public Connection createConnection(String userName,
                                   String password)
                            throws JMSException
Specified by:
createConnection in interface ConnectionFactory
Throws:
JMSException

createQueueConnection

public QueueConnection createQueueConnection()
                                      throws JMSException
Specified by:
createQueueConnection in interface QueueConnectionFactory
Throws:
JMSException

createQueueConnection

public QueueConnection createQueueConnection(String userName,
                                             String password)
                                      throws JMSException
Specified by:
createQueueConnection in interface QueueConnectionFactory
Throws:
JMSException

createTopicConnection

public TopicConnection createTopicConnection()
                                      throws JMSException
Specified by:
createTopicConnection in interface TopicConnectionFactory
Throws:
JMSException

createTopicConnection

public TopicConnection createTopicConnection(String userName,
                                             String password)
                                      throws JMSException
Specified by:
createTopicConnection in interface TopicConnectionFactory
Throws:
JMSException


Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.