Skip to Content

JMS connection

Introduction

A JMS connection, created using the JMS connector, establishes access to JMS providers. Once a connection is configured, you can create instances of JMS activities associated with that connection to be used either as sources (to provide data in an operation) or as targets (to consume data in an operation).

Note

This connector supports the Enable Re-authentication on Change organization policy. If enabled, a change to the Factory Name or Username in this connection requires users to re-enter the Password for the connection.

Create or edit a JMS connection

A new JMS connection is created using the JMS connector from one of these locations:

An existing JMS connection can be edited from these locations:

Configure a JMS connection

Each user interface element of the JMS connection configuration screen is described below.

The interface used in the JMS connection configuration depends on the JMS Provider selected:

Active mq

When Active MQ is selected as the JMS Provider this interface is presented:

JMS active mq connection configuration

Tip

Fields with a variable icon Variable icon support using global variables, project variables, and Jitterbit variables. Begin either by typing an open square bracket [ into the field or by clicking the variable icon to display a list of the existing variables to choose from.

  • Connection name: Enter a name to use to identify the connection. The name must be unique for each JMS connection and must not contain forward slashes / or colons :. This name is also used to identify the JMS endpoint, which refers to both a specific connection and its activities.

  • JMS provider: From the menu, select Active MQ.

  • JNDI initial factory: Enter the JNDI (Java Naming and Directory Interface) initial factory.

  • Provider URL: Enter the connection URL to be used.

  • Factory name: Enter the connection factory name.

  • Optional settings: Click to expand an additional optional setting:

    • Use JNDI Lookup: Select to interact only with existing queues specified in an activity. When this option is selected and the specified queue does not exist, an error is returned by the activity. When unselected (default), and the queue specified in an activity does not exist, a new queue with the specified name is created.

    • Use Authentication: Select to authenticate the connection using basic authentication. When selected, these fields become available:

      • Username: Enter the username for the JMS provider.

      • Password: Enter the password for the JMS provider.

      Note

      To use SSL/TLS authentication with ActiveMQ, SSL must be configured for the JMS client and a certificate must be added to the Jitterbit Java keystore (as described in prerequisites). Once the prerequisites have been met, the connection will automatically use SSL/TLS authentication. To discontinue SSL/TLS authentication, you must remove the certificate from the Jitterbit Java keystore.

  • Test: Click to verify the connection using the provided configuration. When the connection is tested, the latest version of the connector is downloaded by the agent(s) in the agent group associated with the current environment. This connector supports suspending the download of the latest connector version by using the Disable Auto Connector Update organization policy.

  • Save Changes: Click to save and close the connection configuration.

  • Discard Changes: After making changes to a new or existing configuration, click to close the configuration without saving. A message asks you to confirm that you want to discard changes.

  • Delete: After opening an existing connection configuration, click to permanently delete the connection from the project and close the configuration (see Component dependencies, deletion, and removal). A message asks you to confirm that you want to delete the connection.

IBM MQ

Note

IBM MQ requires and can be used only on a Jitterbit private agent. IBM MQ 9.2 is supported. Other versions of IBM MQ may also work but have not been tested by Jitterbit.

When IBM MQ is selected as the JMS Provider this interface is presented:

JMS ibm mq connection configuration

Tip

Fields with a variable icon Variable icon support using global variables, project variables, and Jitterbit variables. Begin either by typing an open square bracket [ into the field or by clicking the variable icon to display a list of the existing variables to choose from.

  • Connection name: Enter a name to use to identify the connection. The name must be unique for each JMS connection and must not contain forward slashes / or colons :. This name is also used to identify the JMS endpoint, which refers to both a specific connection and its activities.

  • JMS provider: From the menu, select IBM MQ.

  • Provider URL: Enter the connection URL to be used.

  • Queue manager: Enter the name of the queue manager.

  • Channel: Enter the channel connected to the specified queue manager.

  • Port: Enter the port that the channel is connected to.

  • Optional settings: Click to expand additional optional settings:

    • Use JNDI Lookup: Select to interact only with existing queues specified in an activity. When this option is selected and the specified queue does not exist, an error is returned by the activity. When unselected (default), and the queue specified in an activity does not exist, a new queue with the specified name is created.

    • Use Authentication: Select to authenticate the connection using basic authentication. When selected, these fields become available:

      • Username: Enter the username for the JMS provider.

      • Password: Enter the password for the JMS provider.

    • Use SSL: Select to authenticate the connection using client Secure Sockets Layer (SSL). When selected, these fields become available:

      Important

      When using this option, SSL must be configured for the JMS client and a certificate must be added to the Jitterbit Java keystore (as described in prerequisites).

      • SSL Cipher: Enter the SSL CipherSpec. For more information on IBM MQ CipherSpecs, see the IBM MQ documentation.

      • Security Protocol: From the menu, select the security protocol to use, one of TLS, TLSv1.0, TLSv1.1, or TLSv1.2. For more information, see the IBM MQ documentation.

  • Test: Click to verify the connection using the provided configuration. When the connection is tested, the latest version of the connector is downloaded by the agent(s) in the agent group associated with the current environment. This connector supports suspending the download of the latest connector version by using the Disable Auto Connector Update organization policy.

  • Save Changes: Click to save and close the connection configuration.

  • Discard Changes: After making changes to a new or existing configuration, click to close the configuration without saving. A message asks you to confirm that you want to discard changes.

  • Delete: After opening an existing connection configuration, click to permanently delete the connection from the project and close the configuration (see Component dependencies, deletion, and removal). A message asks you to confirm that you want to delete the connection.

Custom

Note

This option allows you to establish access to other JMS providers. Using this option requires the use of a private agent and additional configuration steps, as described in Configure additional providers.

When Custom (Private Agent Only) is selected as the JMS provider this interface is presented:

JMS custom connection configuration

  • Connection name: Enter a name to use to identify the connection. The name must be unique for each JMS connection and must not contain forward slashes / or colons :. This name is also used to identify the JMS endpoint, which refers to both a specific connection and its activities.

  • JMS provider: From the menu, select Custom (Private Agent Only).

    Note

    This option has been confirmed to work with the JBoss EAP, Oracle WebLogic, and GlassFish JMS providers. Other JMS providers are expected to work, but have not been tested by Jitterbit.

  • JNDI initial factory: Enter the JNDI (Java Naming and Directory Interface) initial factory.

  • Provider URL: Enter the connection URL to be used.

  • Factory name: Enter the connection factory name.

  • Private Agent Only: When selected, shows the Provider additional configuration table, which is used to add additional configuration properties as key-value pairs to be sent with each activity request:

    • Add: Adds a row to the table. Enter a key-value pair for each property.
    • Submit: Saves the key-value pair to the table. Visible when hovering on a row in edit mode.
    • Discard: Discards a new row or any edits made to an existing row. Visible when hovering on a row in edit mode.
    • Edit: Allows you to edit an existing key-value pair. Visible when hovering on an existing row.
    • Delete: Deletes the row from the table. Visible when hovering on an existing row.
    • Clear All: Deletes all rows from the table.

    Important

    Fields in the Provider additional configuration table display the variable icon only in edit mode. For these fields' variable values to be populated at runtime, the agent version must be at least 10.75 / 11.13.

  • Optional settings: Click to expand an additional optional setting:

    • Use Authentication: Select to authenticate the connection using basic authentication. When selected, these fields become available:

      • Username: Enter the username for the JMS provider.

      • Password: Enter the password for the JMS provider.

  • Test: Click to verify the connection using the provided configuration. When the connection is tested, the latest version of the connector is downloaded by the agent(s) in the agent group associated with the current environment. This connector supports suspending the download of the latest connector version by using the Disable Auto Connector Update organization policy.

  • Save Changes: Click to save and close the connection configuration.

  • Discard Changes: After making changes to a new or existing configuration, click to close the configuration without saving. A message asks you to confirm that you want to discard changes.

  • Delete: After opening an existing connection configuration, click to permanently delete the connection from the project and close the configuration (see Component dependencies, deletion, and removal). A message asks you to confirm that you want to delete the connection.

Next steps

After a JMS connection has been created, you place an activity type on the design canvas to create activity instances to be used either as sources (to provide data in an operation) or as targets (to consume data in an operation).

Menu actions for a connection and its activity types are accessible from the project pane and design component palette. For details, see Actions menus in Connector basics.

These activity types are available:

  • Acknowledge: Sends a bulk acknowledgment of JMS messages and is intended to be used as a target in an operation.

  • Get: Retrieves all JMS messages available in a specific queue and is intended to be used as a source in an operation.

  • Consume: Consumes messages from a JMS queue and is intended to be used as a source in an operation.

  • Send: Sends messages to a JMS queue or topic and is intended to be used as a target in an operation.