Before you begin

Before using the JMS Consumer step, be aware of the following conditions:

  • You must be familiar with JMS messaging to use this step. Additionally, you must have a message broker, such as Apache ActiveMQ or IBM MQ, available before you configure this step.

  • This step supports JMS 2.0 and requires Apache ActiveMQ Artemisarrow-up-right.

  • If you need to use JMS 1.1 with ActiveMQ or Artemis, use the previous versions of the JMS Consumer and JMS Producer steps, also available in Pentaho version 8.1 and earlier.

  • Place the IBM MQ client JAR for IBM MQ middleware in the following directories:

    • On the PDI client: data-integration/plugins/pentaho-streaming-jms-plugin/lib

    • On the Pentaho Server: server/pentaho-server/pentaho-solutions/system/karaf/deploy

    You need to locate the WebSphere® MQ classes for the JMS Java library from your IBM WebSphere® MQ installation. You can also find this library in your IBM WebSphere MQ Client SupportPacarrow-up-right. The WebSphere® MQ Java library version that the PDI plugin steps were built against is 9.4.0.0. The library that you must have available for distribution into the PDI JMS plugin is com.ibm.mq.allclient-9.4.0.0.jar. Because IBM licensing prevents us from distributing the library directly, you must add it to your PDI directories.

  • Place the JMS Library jar for the ConnectionFactory and other supporting classes in the following directories:

    • On the PDI client: data-integration/plugins/pentaho-streaming-jms-plugin/lib

    • On the Pentaho Server: server/pentaho-server/pentaho-solutions/system/karaf/deploy

  • Set the OPT environment variable for your operating system.

    • Linux or Unix

      1. In a text editor, open the ...\data-integration\spoon.sh file.

      2. Locate the line that defines the OPT variable:

        OPT="$OPT $PENTAHO_DI_JAVA_OPTIONS
      3. Append the following JVM option to the end of that line:

        -Dcom.ibm.mq.cfg.useIBMCipherMappings=false
      4. Save and close the ...\data-integration\spoon.sh file.

    • Windows

      1. In a text editor, open the ...\data-integration\Spoon.bat file.

      2. Locate the line that defines the OPT variable:

        set OPT=%OPT% %PENTAHO_DI_JAVA_OPTIONS%
      3. Append the following JVM option to the end of that line:

        "-Dcom.ibm.mq.cfg.useIBMCipherMappings=false"
      4. Save and close the ...\data-integration\Spoon.bat file.

Last updated

Was this helpful?