public class ActiveMQConnectionFactory extends Object implements javax.jms.ConnectionFactory, javax.jms.QueueConnectionFactory, javax.jms.TopicConnectionFactory, javax.resource.Referenceable, Serializable
| Constructor and Description |
|---|
ActiveMQConnectionFactory(ActiveMQManagedConnectionFactory factory,
javax.resource.spi.ConnectionManager manager,
ActiveMQConnectionRequestInfo connectionRequestInfo) |
| Modifier and Type | Method and Description |
|---|---|
javax.jms.Connection |
createConnection() |
javax.jms.Connection |
createConnection(String userName,
String password) |
javax.jms.QueueConnection |
createQueueConnection() |
javax.jms.QueueConnection |
createQueueConnection(String userName,
String password) |
javax.jms.TopicConnection |
createTopicConnection() |
javax.jms.TopicConnection |
createTopicConnection(String userName,
String password) |
Reference |
getReference() |
void |
setReference(Reference reference) |
public ActiveMQConnectionFactory(ActiveMQManagedConnectionFactory factory, javax.resource.spi.ConnectionManager manager, ActiveMQConnectionRequestInfo connectionRequestInfo)
factory - manager - connectionRequestInfo - public javax.jms.Connection createConnection() throws javax.jms.JMSException
createConnection in interface javax.jms.ConnectionFactoryjavax.jms.JMSExceptionConnectionFactory.createConnection()public javax.jms.Connection createConnection(String userName, String password) throws javax.jms.JMSException
createConnection in interface javax.jms.ConnectionFactoryjavax.jms.JMSExceptionConnectionFactory.createConnection(java.lang.String,
java.lang.String)public Reference getReference()
getReference in interface ReferenceableReferenceable.getReference()public void setReference(Reference reference)
Referenceable.setReference(javax.naming.Reference)public javax.jms.QueueConnection createQueueConnection() throws javax.jms.JMSException
createQueueConnection in interface javax.jms.QueueConnectionFactoryjavax.jms.JMSExceptionpublic javax.jms.QueueConnection createQueueConnection(String userName, String password) throws javax.jms.JMSException
createQueueConnection in interface javax.jms.QueueConnectionFactoryjavax.jms.JMSExceptionpublic javax.jms.TopicConnection createTopicConnection() throws javax.jms.JMSException
createTopicConnection in interface javax.jms.TopicConnectionFactoryjavax.jms.JMSExceptionpublic javax.jms.TopicConnection createTopicConnection(String userName, String password) throws javax.jms.JMSException
createTopicConnection in interface javax.jms.TopicConnectionFactoryjavax.jms.JMSExceptionCopyright © 2005–2019 FuseSource, Corp.. All rights reserved.