public class OutboundTopicConnectionFactory extends OutboundConnectionFactory implements javax.jms.TopicConnectionFactory
OutboundTopicConnectionFactory
instance is used for
getting a PubSub connection to an underlying JORAM server.Modifier and Type | Field and Description |
---|---|
static org.objectweb.util.monolog.api.Logger |
logger |
private static long |
serialVersionUID
define serialVersionUID for interoperability
|
cxManager, mcf, reference
Constructor and Description |
---|
OutboundTopicConnectionFactory(ManagedConnectionFactoryImpl mcf,
javax.resource.spi.ConnectionManager cxManager)
Constructs an
OutboundTopicConnectionFactory instance. |
Modifier and Type | Method and Description |
---|---|
javax.jms.TopicConnection |
createTopicConnection()
Requests a PubSub connection for the default user, eventually returns an
OutboundTopicConnection instance. |
javax.jms.TopicConnection |
createTopicConnection(String userName,
String password)
Requests a PubSub connection for a given user, eventually returns an
OutboundConnection instance. |
createConnection, createConnection, createContext, createContext, createContext, createContext, getReference, setReference
public static org.objectweb.util.monolog.api.Logger logger
private static final long serialVersionUID
OutboundTopicConnectionFactory(ManagedConnectionFactoryImpl mcf, javax.resource.spi.ConnectionManager cxManager)
OutboundTopicConnectionFactory
instance.mcf
- Central manager for outbound connectivity.cxManager
- Manager for connection pooling.public javax.jms.TopicConnection createTopicConnection() throws javax.jms.JMSException
OutboundTopicConnection
instance.createTopicConnection
in interface javax.jms.TopicConnectionFactory
javax.jms.JMSSecurityException
- If connecting is not allowed.javax.jms.IllegalStateException
- If the underlying JORAM server
is not reachable.javax.jms.JMSException
- Generic exception.public javax.jms.TopicConnection createTopicConnection(String userName, String password) throws javax.jms.JMSException
OutboundConnection
instance.createTopicConnection
in interface javax.jms.TopicConnectionFactory
javax.jms.JMSSecurityException
- If connecting is not allowed.javax.jms.IllegalStateException
- If the underlying JORAM server
is not reachable.javax.jms.JMSException
- Generic exception.Copyright © 2018 ScalAgent D.T.. All Rights Reserved.