public class OutboundTopicConnectionFactory extends OutboundConnectionFactory implements 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,
ConnectionManager cxManager)
Constructs an
OutboundTopicConnectionFactory instance. |
Modifier and Type | Method and Description |
---|---|
TopicConnection |
createTopicConnection()
Requests a PubSub connection for the default user, eventually returns an
OutboundTopicConnection instance. |
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createConnection, createConnection
public static org.objectweb.util.monolog.api.Logger logger
private static final long serialVersionUID
OutboundTopicConnectionFactory(ManagedConnectionFactoryImpl mcf, ConnectionManager cxManager)
OutboundTopicConnectionFactory
instance.mcf
- Central manager for outbound connectivity.cxManager
- Manager for connection pooling.public TopicConnection createTopicConnection() throws JMSException
OutboundTopicConnection
instance.createTopicConnection
in interface TopicConnectionFactory
JMSSecurityException
- If connecting is not allowed.IllegalStateException
- If the underlying JORAM server
is not reachable.JMSException
- Generic exception.public TopicConnection createTopicConnection(String userName, String password) throws JMSException
OutboundConnection
instance.createTopicConnection
in interface TopicConnectionFactory
JMSSecurityException
- If connecting is not allowed.IllegalStateException
- If the underlying JORAM server
is not reachable.JMSException
- Generic exception.Copyright © 2021 ScalAgent D.T.. All rights reserved.