JndiJmsConnectionFactoryProvider

Description:

Provides a service to lookup an existing JMS ConnectionFactory using the Java Naming and Directory Interface (JNDI).

Additional Details...

Tags:

jms, jndi, messaging, integration, queue, topic, publish, subscribe

Properties:

In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, whether a property supports the NiFi Expression Language, and whether a property is considered "sensitive", meaning that its value will be encrypted. Before entering a value in a sensitive property, ensure that the nifi.properties file has an entry for the property nifi.sensitive.props.key.

NameDefault ValueAllowable ValuesDescription
JNDI Initial Context Factory ClassThe fully qualified class name of the JNDI Initial Context Factory Class (java.naming.factory.initial).
Supports Expression Language: true (will be evaluated using variable registry only)
JNDI Provider URLThe URL of the JNDI Provider to use (java.naming.provider.url).
Supports Expression Language: true (will be evaluated using variable registry only)
JNDI Name of the Connection FactoryThe name of the JNDI Object to lookup for the Connection Factory.
Supports Expression Language: true (will be evaluated using variable registry only)
JNDI / JMS Client LibrariesSpecifies jar files and/or directories to add to the ClassPath in order to load the JNDI / JMS client libraries. This should be a comma-separated list of files, directories, and/or URLs. If a directory is given, any files in that directory will be included, but subdirectories will not be included (i.e., it is not recursive).

This property expects a comma-separated list of resources. Each of the resources may be of any of the following types: directory, URL, file.

Supports Expression Language: true (will be evaluated using variable registry only)
JNDI PrincipalThe Principal to use when authenticating with JNDI (java.naming.security.principal).
Supports Expression Language: true (will be evaluated using variable registry only)
JNDI CredentialsThe Credentials to use when authenticating with JNDI (java.naming.security.credentials).
Sensitive Property: true

Dynamic Properties:

Dynamic Properties allow the user to specify both the name and value of a property.

NameValueDescription
The name of a JNDI Initial Context environment variable.The value of the JNDI Initial Context environment variable.In order to perform a JNDI Lookup, an Initial Context must be established. When this is done, an Environment can be established for the context. Any dynamic/user-defined property that is added to this Controller Service will be added as an Environment configuration/variable to this Context.
Supports Expression Language: true (will be evaluated using variable registry only)

State management:

This component does not store state.

Restricted:

This component is not restricted.

System Resource Considerations:

None specified.

See Also:

ConsumeJMS, PublishJMS, JMSConnectionFactoryProvider