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.

JMS Provider Selection

  • 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 dropdown select the JMS provider to be used, one of Active MQ or IBM MQ.

    Note

    When using a Private Agent, it may be possible to configure the connection with another JMS provider not listed here. Contact Jitterbit Support for assistance.

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

Active MQ Connection Configuration

If 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.

  • 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.

  • Use Authentication: Select to authenticate the connection with the JMS provider using a username and password.

  • 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.

  • 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 Connection Configuration

Note

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

If 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.

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

  • Queue Manager: Enter the name of the queue manager for the IBM MQ instance.

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

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

  • Use Authentication: Select to authenticate the connection with the JMS provider using a username and password.

  • 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.

  • 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 (Beta): 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.