Skip to main content

JNDI

JNDI defines the directory context a JMS Connection uses to look up a ConnectionFactory instead of instantiating one directly. Select this resource in the JMS Connection's JNDI Resource field, and set that connection's Connection Mode to JNDI.

A JMS Connection can also use its JNDI context to resolve destination names. Activities that consume or send set Destination Name Is JNDI to treat their Destination Name as a binding name rather than a physical queue or topic.

The resource has two tabs: Configuration and Advanced.

Configuration

FieldRequiredDescription
NameOptionalName of the resource.
DescriptionOptionalDescription of the resource.
Initial Context FactoryOptionalSelect a known JNDI InitialContextFactory or type a provider-specific class name.
Provider URLOptionalBroker URL, which may embed credentials or TLS parameters. Mapping and vault values are supported.

Initial Context Factory

ProviderClass
ActiveMQ Artemisorg.apache.activemq.artemis.jndi.ActiveMQInitialContextFactory
ActiveMQ Classicorg.apache.activemq.jndi.ActiveMQInitialContextFactory
IBM MQcom.ibm.mq.jms.context.WMQInitialContextFactory
WebLogicweblogic.jndi.WLInitialContextFactory
TIBCO EMScom.tibco.tibjms.naming.TibjmsInitialContextFactory
OpenJNDIorg.osjava.sj.SimpleContextFactory

The field accepts a provider-specific class name as well as the listed options.

Advanced

FieldRequiredDescription
Security PrincipalOptionalSets java.naming.security.principal. Mapping and vault values are supported.
Security CredentialsOptionalSets java.naming.security.credentials. Mapping and vault values are supported.
Additional JNDI PropertiesOptionalExtra java.naming.* properties, entered as name and value rows.