Description:

Pulls messages from a JMS Topic, creating a FlowFile for each JMS Message or bundle of messages, as configured

Tags: jms, topic, subscription, durable, non-durable, listen, get, pull, source, consume, consumer

Properties:

In the list below, the names of required properties appear in bold. Anyother properties (not in bold) are considered optional. The table also indicates any default values, whether a property supports the NiFi Expression Language (or simply EL), 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.

NameDescriptionDefault ValueValid ValuesELSensitive
JMS ProviderThe Provider used for the JMS ServerActiveMQ
  • ActiveMQ
NoNo
URLThe URL of the JMS ServerNoNo
Destination NameThe name of the JMS Topic or queue to useNoNo
Communications TimeoutThe amount of time to wait when attempting to receive a message before giving up and assuming failure30 secNoNo
Message Batch SizeThe number of messages to pull/push in a single iteration of the processor10NoNo
UsernameUsername used for authentication and authorizationNoNo
PasswordPassword used for authentication and authorizationNoYes
Acknowledgement ModeThe JMS Acknowledgement Mode. Using Auto Acknowledge can cause messages to be lost on restart of NiFi but may provide better performance than Client Acknowledge.Client Acknowledge
  • Client Acknowledge
  • Auto Acknowledge
NoNo
Message SelectorThe JMS Message Selector to use in order to narrow the messages that are pulledNoNo
Copy JMS Properties to AttributesWhether or not the JMS Message Properties should be copied to the FlowFile Attributes; if so, the attribute name will be jms.XXX, where XXX is the JMS Property nametrue
  • true
  • false
NoNo
Client ID PrefixA human-readable ID that can be used to associate connections with yourself so that the maintainers of the JMS Server know who to contact if problems ariseNoNo
Use Durable SubscriptionIf true, connections to the specified topic will use Durable Subscription so that messages are queued when we are not pulling themfalse
  • true
  • false
NoNo

Relationships:

NameDescription
successAll FlowFiles are routed to success