public class StandardJndiImplementation extends BaseJndiImplementation implements VendorImplementation
VendorImplementation
that gets a ConnectionFactory
from the configured JNDI Store.
This implementation ignores any broker configuration in JmsConnection
.
Depending on your configuration you will need have additional jars available to the Adapter that handles the specific ConnectionFactories that are referenced in JNDI.
In the adapter configuration file this class is aliased as standard-jndi-implementation which is the preferred alternative to the fully qualified classname when building your configuration.
context, encodedPasswordKeys, jndiName
log
Constructor and Description |
---|
StandardJndiImplementation() |
StandardJndiImplementation(java.lang.String jndiName) |
Modifier and Type | Method and Description |
---|---|
javax.jms.ConnectionFactory |
createConnectionFactory()
Returns a
ConnectionFactory . |
asList, connectionEquals, createQueue, createTopic, enableEncodedPasswords, getEnableEncodedPasswords, getEncodedPasswordKeys, getExtraFactoryConfiguration, getJndiName, getJndiParams, getNewContextOnException, getUseJndiForQueues, getUseJndiForTopics, lookup, newContextOnException, retrieveBrokerDetailsForLogging, setEnableEncodedPasswords, setEncodedPasswordKeys, setExtraFactoryConfiguration, setJndiName, setJndiParams, setNewContextOnException, setUseJndiForQueues, setUseJndiForTopics, useJndiForQueues, useJndiForTopics
applyVendorSessionProperties, createConsumer, createDestination, createQueueReceiver, createSession, createTopicSubscriber, prepare
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createConsumer, createDestination, createQueue, createQueueReceiver, createSession, createTopic, createTopicSubscriber, retrieveBrokerDetailsForLogging
prepare
connectionEquals
public StandardJndiImplementation()
public StandardJndiImplementation(java.lang.String jndiName)
public javax.jms.ConnectionFactory createConnectionFactory() throws javax.jms.JMSException
VendorImplementation
Returns a ConnectionFactory
.
createConnectionFactory
in interface VendorImplementation
ConnectionFactory
javax.jms.JMSException
- if any occurs