public class JndiContext extends AbstractJmsContext
Modifier and Type | Field and Description |
---|---|
static String |
CONNECTION_FACTORY_NAMES |
Modifier and Type | Method and Description |
---|---|
static JndiContext |
configureJNDIContext(ConnectionInfo connectionInfo,
SessionInfo sessionInfo) |
static JndiContext |
configureJNDIContext(String initialContextFactory,
String connectionFactory,
String provider,
MessagingMode messagingMode,
String destinationURL)
Deprecated.
|
javax.jms.ConnectionFactory |
getConnectionFactory() |
protected javax.jms.Destination |
lookupDestination(String destinationName)
Looks up destination.
|
protected javax.jms.ConnectionFactory |
lookupFactory()
Lookup com.epam.fe.jms connection factory.
|
createClientSession, createClientSession, createConnection, getConfiguredDestination
public static final String CONNECTION_FACTORY_NAMES
@Deprecated public static JndiContext configureJNDIContext(String initialContextFactory, String connectionFactory, String provider, MessagingMode messagingMode, String destinationURL) throws NamingException
NamingException
public static JndiContext configureJNDIContext(ConnectionInfo connectionInfo, SessionInfo sessionInfo)
protected javax.jms.ConnectionFactory lookupFactory() throws NamingException
NamingException
public javax.jms.ConnectionFactory getConnectionFactory() throws javax.jms.JMSException
getConnectionFactory
in class AbstractJmsContext
javax.jms.JMSException
protected javax.jms.Destination lookupDestination(String destinationName) throws NamingException
destinationName
- NamingException
Copyright © 2000–2022 EPAM Systems. All rights reserved.