Class StandardJndiImplementation

All Implemented Interfaces:
ComponentLifecycleExtension, ConnectionComparator<VendorImplementationBase>, VendorImplementation, VendorImplementationBase
Direct Known Subclasses:
CachedDestinationJndiImplementation

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.

  • Constructor Details

    • StandardJndiImplementation

      public StandardJndiImplementation()
    • StandardJndiImplementation

      public StandardJndiImplementation(String jndiName)
  • Method Details

    • createConnectionFactory

      public javax.jms.ConnectionFactory createConnectionFactory() throws javax.jms.JMSException
      Description copied from interface: VendorImplementation
      Returns a ConnectionFactory.
      Specified by:
      createConnectionFactory in interface VendorImplementation
      Returns:
      an instance of ConnectionFactory
      Throws:
      javax.jms.JMSException - if any occurs