Package ru.bitel.bgbilling.server.util
Class ActiveMQConnectionFactory
java.lang.Object
ru.bitel.bgbilling.server.util.ActiveMQConnectionFactory
- All Implemented Interfaces:
javax.jms.ConnectionFactory
,javax.jms.QueueConnectionFactory
,javax.jms.TopicConnectionFactory
public class ActiveMQConnectionFactory
extends Object
implements javax.jms.ConnectionFactory, javax.jms.QueueConnectionFactory, javax.jms.TopicConnectionFactory
-
Constructor Summary
ConstructorDescriptionActiveMQConnectionFactory
(String userName, String password, String brokerURL) -
Method Summary
Modifier and TypeMethodDescriptionjavax.jms.Connection
javax.jms.Connection
createConnection
(String userName, String password) javax.jms.QueueConnection
javax.jms.QueueConnection
createQueueConnection
(String userName, String password) javax.jms.TopicConnection
javax.jms.TopicConnection
createTopicConnection
(String userName, String password)
-
Constructor Details
-
ActiveMQConnectionFactory
-
-
Method Details
-
createQueueConnection
public javax.jms.QueueConnection createQueueConnection() throws javax.jms.JMSException- Specified by:
createQueueConnection
in interfacejavax.jms.QueueConnectionFactory
- Throws:
javax.jms.JMSException
-
createQueueConnection
public javax.jms.QueueConnection createQueueConnection(String userName, String password) throws javax.jms.JMSException - Specified by:
createQueueConnection
in interfacejavax.jms.QueueConnectionFactory
- Throws:
javax.jms.JMSException
-
createTopicConnection
public javax.jms.TopicConnection createTopicConnection() throws javax.jms.JMSException- Specified by:
createTopicConnection
in interfacejavax.jms.TopicConnectionFactory
- Throws:
javax.jms.JMSException
-
createTopicConnection
public javax.jms.TopicConnection createTopicConnection(String userName, String password) throws javax.jms.JMSException - Specified by:
createTopicConnection
in interfacejavax.jms.TopicConnectionFactory
- Throws:
javax.jms.JMSException
-
createConnection
public javax.jms.Connection createConnection() throws javax.jms.JMSException- Specified by:
createConnection
in interfacejavax.jms.ConnectionFactory
- Throws:
javax.jms.JMSException
-
createConnection
public javax.jms.Connection createConnection(String userName, String password) throws javax.jms.JMSException - Specified by:
createConnection
in interfacejavax.jms.ConnectionFactory
- Throws:
javax.jms.JMSException
-