@Tags(value={"jms","jndi","messaging","integration","queue","topic","publish","subscribe"}) @CapabilityDescription(value="Provides a service to lookup an existing JMS ConnectionFactory using the Java Naming and Directory Interface (JNDI).") @DynamicProperty(description="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.", name="The name of a JNDI Initial Context environment variable.", value="The value of the JNDI Initial Context environment variable.", expressionLanguageScope=VARIABLE_REGISTRY) @SeeAlso(classNames={"org.apache.nifi.jms.processors.ConsumeJMS","org.apache.nifi.jms.processors.PublishJMS","org.apache.nifi.jms.cf.JMSConnectionFactoryProvider"}) public class JndiJmsConnectionFactoryProvider extends AbstractControllerService implements JMSConnectionFactoryProviderDefinition
| Modifier and Type | Field and Description |
|---|---|
private JndiJmsConnectionFactoryHandler |
delegate |
| Constructor and Description |
|---|
JndiJmsConnectionFactoryProvider() |
| Modifier and Type | Method and Description |
|---|---|
javax.jms.ConnectionFactory |
getConnectionFactory() |
protected PropertyDescriptor |
getSupportedDynamicPropertyDescriptor(String propertyDescriptorName) |
protected List<PropertyDescriptor> |
getSupportedPropertyDescriptors() |
void |
onDisabled() |
void |
onEnabled(ConfigurationContext context) |
void |
resetConnectionFactory(javax.jms.ConnectionFactory cachedFactory) |
abstractClearConfigContext, abstractStoreConfigContext, disabled, enabled, getConfigurationContext, getControllerServiceLookup, getIdentifier, getLogger, getNodeTypeProvider, getProperty, getStateManager, init, initialize, isEnabledcustomValidate, equals, getPropertyDescriptor, getPropertyDescriptors, hashCode, onPropertyModified, toString, validateclone, finalize, getClass, notify, notifyAll, wait, wait, waitinitializegetIdentifier, getPropertyDescriptor, getPropertyDescriptors, onPropertyModified, validateprivate volatile JndiJmsConnectionFactoryHandler delegate
protected List<PropertyDescriptor> getSupportedPropertyDescriptors()
getSupportedPropertyDescriptors in class AbstractConfigurableComponentprotected PropertyDescriptor getSupportedDynamicPropertyDescriptor(String propertyDescriptorName)
getSupportedDynamicPropertyDescriptor in class AbstractConfigurableComponent@OnEnabled public void onEnabled(ConfigurationContext context)
@OnDisabled public void onDisabled()
public javax.jms.ConnectionFactory getConnectionFactory()
getConnectionFactory in interface IJMSConnectionFactoryProviderpublic void resetConnectionFactory(javax.jms.ConnectionFactory cachedFactory)
resetConnectionFactory in interface IJMSConnectionFactoryProviderCopyright © 2021 Apache NiFi Project. All rights reserved.