public class OutboundQueueConnectionFactory extends OutboundConnectionFactory implements QueueConnectionFactory
OutboundQueueConnectionFactory
instance is used for
getting a PTP 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 |
---|
OutboundQueueConnectionFactory(ManagedConnectionFactoryImpl mcf,
ConnectionManager cxManager)
Constructs an
OutboundQueueConnectionFactory instance. |
Modifier and Type | Method and Description |
---|---|
QueueConnection |
createQueueConnection()
Requests a PTP connection for the default user, eventually returns an
OutboundQueueConnection instance. |
QueueConnection |
createQueueConnection(String userName,
String password)
Requests a PTP 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
private static final long serialVersionUID
public static org.objectweb.util.monolog.api.Logger logger
OutboundQueueConnectionFactory(ManagedConnectionFactoryImpl mcf, ConnectionManager cxManager)
OutboundQueueConnectionFactory
instance.mcf
- Central manager for outbound connectivity.cxManager
- Manager for connection pooling.public QueueConnection createQueueConnection() throws JMSException
OutboundQueueConnection
instance.createQueueConnection
in interface QueueConnectionFactory
JMSSecurityException
- If connecting is not allowed.IllegalStateException
- If the underlying JORAM server
is not reachable.JMSException
- Generic exception.public QueueConnection createQueueConnection(String userName, String password) throws JMSException
OutboundConnection
instance.createQueueConnection
in interface QueueConnectionFactory
JMSSecurityException
- If connecting is not allowed.IllegalStateException
- If the underlying JORAM server
is not reachable.JMSException
- Generic exception.Copyright © 2020 ScalAgent D.T.. All rights reserved.