PLEASE NOTE: This documentation applies to the deprecated JMS Consumer step in Pentaho 8.0 and earlier. For the current JMS Consumer step in Pentaho 8.1 and later, see JMS Consumer on the Pentaho Enterprise Edition documentation site.
Description
The Java Messaging Service (JMS) Consumer step allows Pentaho Data Integration to receive text messages from Apache ActiveMQ JMS server. Additionally, you can receive text messages from any JNDI-enabled JMS server if you've embedded PDI to run in a J2EE container..
You could use JMS Consumer step to define a long running transformation that updates a data warehouse every time a JMS message is received.
You must be familiar with JMS messaging to use this step. Additionally, you must have a message broker like Apache ActiveMQ available before you configure this step. If you are using the Java Naming and Directory Interface (JNDI) to connect to JMS, you must have the appropriate connection information.
Note: Place JMS Library jars for the ConnectionFactory and other supporting classes in the .../data-integration/plugins/pdi-jms-plugin/lib directory.
License Information: Enterprise Edition only
Options
Option | Description |
Step Name | Optionally, you can change the name of this step to fit your needs. |
ActiveMQ Connection | Enable ActiveMQ Connection you are using ActiveMQ as your message broker. |
JMS URL | Enter the appropriate broker URL. |
Username | Enter the ActiveMQ user name. |
Password | Enter the ActiveMQ password. |
Jndi Connection | Enable JNDI Connection if you are using the Java Naming and Directory Interface (JNDI) to connect to JMS |
Jndi URL | The URL for the JNDI connection |
Topic/Queue | Select Topic or Queue from the drop down list to specify whether you want to use a Topic or Queue delivery model. |
Destination | Specify the queue or topic name. |
Receive Timeout | Specify the time to wait for incoming messages in milliseconds.Note: A timeout setting of zero never expires. |
Field Name | Specify the field name that contains the contents of the message. |
Context & Examples
Please see Processing Message Queues with Java Messaging Service (JMS)