Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added PutJMS

...

Alternatives

Component Class

org.apache.nifi.jms.processors.standard.ConsumeJMS

Bundle Grouporg.apache.nifi
Bundle Artifactnifi-standardjms-processors-nar

Migration

GetJMSQueue supports retrieving messages using the Java Message Service Queue interface to access Apache ActiveMQ.

...

GetJMSTopic

Component Class

org.apache.nifi.processors.standard.GetJMSTopic

Bundle Grouporg.apache.nifi
Bundle Artifactnifi-standard-nar
Deprecation TypeComponent Class
Deprecated Version1.3.0
Migration DifficultyMEDIUM
Migration TypeComponent Replacement

Alternatives

Component Class

org.apache.nifi.jms.processors

.standard

.ConsumeJMS

Bundle Grouporg.apache.nifi
Bundle Artifactnifi-jms-
standard
processors-nar

Migration

GetJMSTopic supports retrieving messages using the Java Message Service Topic interface to access Apache ActiveMQ.

...

ConsumeJMS should be configured with a Connection Factory Service implementation of JMSConnectionFactoryProvider with required properties. The ActiveMQ Artemis library provides the current supported version of JMS access.

PropertyValue
JMS Connection Factory Implementation Classorg.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory
JMS Client Libraries/opt/activemq-artemis-2.28.0/lib
JMS Broker URItcp://${AMQ_HOST}:61616

ConsumeJMS uses the Connection Factory Service along with several other properties to access JMS Queues.

PropertyValue
Connection Factory ServiceJMSConnectionFactoryProvider
Destination Name
Destination TypeTOPIC

Flow Definitions

The Deprecated Flow Definition includes GetJMSTopic configured for ActiveMQ running on the localhost address with a specified Destination Name.

...

The Migrated Flow Definition includes ConsumeJMS configured with a JMSConnectionFactoryProvider using the same JMS broker information. The Migrated Flow Definition includes a JMS Parameters context with a Parameter named JmsClientLibrariesPath referencing the local directory containing the Apache ActiveMQ Artemis libraries.

HashAttribute

Component Class

org.apache.nifi.processors.standard.HashAttribute

Bundle Grouporg.apache.nifi
Bundle Artifactnifi-standard-nar
Deprecation TypeComponent Class
Deprecated Version1.21.0
Migration DifficultyLOW
Migration TypeComponent Replacement

...

The Migrated Flow Definition includes InvokeHTTP configured to send to ListenHTTP using equivalent settings.

PutJMS

Component Class

org.apache.nifi.processors.standard.PutJMS

Bundle Grouporg.apache.nifi
Bundle Artifactnifi-standard-nar
Deprecation TypeComponent Class
Deprecated Version1.3.0
Migration DifficultyMEDIUM
Migration TypeComponent Replacement

Alternatives

Component Class

org.apache.nifi.jms.processors.PublishJMS

Bundle Grouporg.apache.nifi
Bundle Artifactnifi-jms-processors-nar

Migration

PutJMS supports sending messages using the Java Message Service interface to access Apache ActiveMQ.

PutJMS bundles the ActiveMQ libraries and requires the URL property to specify the JMS server location, and the Destination Name property to specify the JMS destination. PutJMS also supports a configurable Destination Type of Queue or Topic.

The PublishJMS Processor supports similar functionality to PutJMS, but requires additional configuration. PublishJMS does not bundle JMS libraries and requires referencing a local directory containing implementation JAR files.

PublishJMS should be configured with a Connection Factory Service implementation of JMSConnectionFactoryProvider with required properties. The ActiveMQ Artemis library provides the current supported version of JMS access.

PropertyValue
JMS Connection Factory Implementation Classorg.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory
JMS Client Libraries/opt/activemq-artemis-2.28.0/lib
JMS Broker URItcp://${AMQ_HOST}:61616

PublishJMS uses the Connection Factory Service along with several other properties to access JMS destinations.

PropertyValue
Connection Factory ServiceJMSConnectionFactoryProvider
Destination Name
Destination Type

Flow Definitions

The Deprecated Flow Definition includes PutJMS configured for ActiveMQ running on the localhost address with a specified Destination Name.

The Migrated Flow Definition includes PublishJMS configured with a JMSConnectionFactoryProvider using the same JMS broker information. The Migrated Flow Definition includes a JMS Parameters context with a Parameter named JmsClientLibrariesPath referencing the local directory containing the Apache ActiveMQ Artemis libraries.