Package org.apache.nifi.jms.cf
Class JndiJmsConnectionFactoryProvider
java.lang.Object
org.apache.nifi.components.AbstractConfigurableComponent
org.apache.nifi.controller.AbstractControllerService
org.apache.nifi.jms.cf.JndiJmsConnectionFactoryProvider
- All Implemented Interfaces:
ConfigurableComponent,ControllerService,IJMSConnectionFactoryProvider,JMSConnectionFactoryProviderDefinition
@Tags({"jms","jndi","messaging","integration","queue","topic","publish","subscribe"})
@CapabilityDescription("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=ENVIRONMENT)
@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
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjakarta.jms.ConnectionFactoryprotected PropertyDescriptorgetSupportedDynamicPropertyDescriptor(String propertyDescriptorName) protected List<PropertyDescriptor> voidvoidonEnabled(ConfigurationContext context) voidresetConnectionFactory(jakarta.jms.ConnectionFactory cachedFactory) Methods inherited from class org.apache.nifi.controller.AbstractControllerService
abstractClearConfigContext, abstractStoreConfigContext, disabled, enabled, getConfigurationContext, getControllerServiceLookup, getIdentifier, getLogger, getNodeTypeProvider, getProperty, getStateManager, init, initialize, isEnabledMethods inherited from class org.apache.nifi.components.AbstractConfigurableComponent
customValidate, equals, getPropertyDescriptor, getPropertyDescriptors, hashCode, onPropertyModified, toString, validateMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.nifi.components.ConfigurableComponent
getIdentifier, getPropertyDescriptor, getPropertyDescriptors, onPropertyModified, validateMethods inherited from interface org.apache.nifi.controller.ControllerService
initialize, isStateful, migrateProperties
-
Field Details
-
delegate
-
-
Constructor Details
-
JndiJmsConnectionFactoryProvider
public JndiJmsConnectionFactoryProvider()
-
-
Method Details
-
getSupportedPropertyDescriptors
- Overrides:
getSupportedPropertyDescriptorsin classAbstractConfigurableComponent
-
getSupportedDynamicPropertyDescriptor
- Overrides:
getSupportedDynamicPropertyDescriptorin classAbstractConfigurableComponent
-
onEnabled
-
onDisabled
-
getConnectionFactory
public jakarta.jms.ConnectionFactory getConnectionFactory()- Specified by:
getConnectionFactoryin interfaceIJMSConnectionFactoryProvider
-
resetConnectionFactory
public void resetConnectionFactory(jakarta.jms.ConnectionFactory cachedFactory) - Specified by:
resetConnectionFactoryin interfaceIJMSConnectionFactoryProvider
-