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
| Field | Required | Description |
|---|---|---|
| Name | Optional | Name of the resource. |
| Description | Optional | Description of the resource. |
| Initial Context Factory | Optional | Select a known JNDI InitialContextFactory or type a provider-specific class name. |
| Provider URL | Optional | Broker URL, which may embed credentials or TLS parameters. Mapping and vault values are supported. |
Initial Context Factory
| Provider | Class |
|---|---|
| ActiveMQ Artemis | org.apache.activemq.artemis.jndi.ActiveMQInitialContextFactory |
| ActiveMQ Classic | org.apache.activemq.jndi.ActiveMQInitialContextFactory |
| IBM MQ | com.ibm.mq.jms.context.WMQInitialContextFactory |
| WebLogic | weblogic.jndi.WLInitialContextFactory |
| TIBCO EMS | com.tibco.tibjms.naming.TibjmsInitialContextFactory |
| OpenJNDI | org.osjava.sj.SimpleContextFactory |
The field accepts a provider-specific class name as well as the listed options.
Advanced
| Field | Required | Description |
|---|---|---|
| Security Principal | Optional | Sets java.naming.security.principal. Mapping and vault values are supported. |
| Security Credentials | Optional | Sets java.naming.security.credentials. Mapping and vault values are supported. |
| Additional JNDI Properties | Optional | Extra java.naming.* properties, entered as name and value rows. |