public class OutboundQueueConnectionFactory extends OutboundConnectionFactory implements javax.jms.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,
javax.resource.spi.ConnectionManager cxManager)
Constructs an
OutboundQueueConnectionFactory instance. |
Modifier and Type | Method and Description |
---|---|
javax.jms.QueueConnection |
createQueueConnection()
Requests a PTP connection for the default user, eventually returns an
OutboundQueueConnection instance. |
javax.jms.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
private static final long serialVersionUID
public static org.objectweb.util.monolog.api.Logger logger
OutboundQueueConnectionFactory(ManagedConnectionFactoryImpl mcf, javax.resource.spi.ConnectionManager cxManager)
OutboundQueueConnectionFactory
instance.mcf
- Central manager for outbound connectivity.cxManager
- Manager for connection pooling.public javax.jms.QueueConnection createQueueConnection() throws javax.jms.JMSException
OutboundQueueConnection
instance.createQueueConnection
in interface javax.jms.QueueConnectionFactory
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.QueueConnection createQueueConnection(String userName, String password) throws javax.jms.JMSException
OutboundConnection
instance.createQueueConnection
in interface javax.jms.QueueConnectionFactory
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.