JMS Interface

The JMS interface type defines the connection to a JMS Queue or Topic using a JMS provider (RabbitMQ , Active MQ, etc). The interface can be used by Broadway Pub / Sub Actors or by User Jobs.

To create a new JMS interface, do the following:

  1. Go to Project Tree > Shared Objects, right click Interfaces, select New Interface and then select JMS from the Interface Type dropdown menu to open the New Interface window.

    image

  2. Populate the connection's settings and click Save.

  1. Go to Project Tree > Shared Objects, right click Interfaces, select New Interface and then select JMS from the Event Streaming and Queue section to open the New Interface window.

  2. Enter a suitable name for your new JMS Interface, then click Create:

    image

  3. Populate the connection's settings and click Save.

    image

Connection Settings

Parameter Description
Provider Type

Message provider types (brokers):

  • ActiveMQ, RabbitMQ, MQ - Queue or Topic.
  • Custom provider - Queue or Topic. In this scenario the implementer must write the provider class name and give a path to the .bindings file.
Bindings Factory  Settings from the .bindings file that define the connection to the broker.
Bindings Source Settings from the .bindings file that define the parameters of a queue or a topic.
Password Password.
Group ID

JMS queue / topic group ID.

Can be overriden by the Broadway Actor's settings. 

Poll Timeout (ms) The time to wait for a new message.
Data Type

Supported data types: String, byte[], JSON, long.

The message type processed by Broadway Actors must be aligned with the Data type definition.

Example of Publish to JMS Broadway Flow

image

The above Broadway flow uses a Publish Actor to publish the data to the predefined JMS interface. When using a JMS Queue provider, the topic input argument indicates the queue name.

Previous

JMS Interface

The JMS interface type defines the connection to a JMS Queue or Topic using a JMS provider (RabbitMQ , Active MQ, etc). The interface can be used by Broadway Pub / Sub Actors or by User Jobs.

To create a new JMS interface, do the following:

  1. Go to Project Tree > Shared Objects, right click Interfaces, select New Interface and then select JMS from the Interface Type dropdown menu to open the New Interface window.

    image

  2. Populate the connection's settings and click Save.

  1. Go to Project Tree > Shared Objects, right click Interfaces, select New Interface and then select JMS from the Event Streaming and Queue section to open the New Interface window.

  2. Enter a suitable name for your new JMS Interface, then click Create:

    image

  3. Populate the connection's settings and click Save.

    image

Connection Settings

Parameter Description
Provider Type

Message provider types (brokers):

  • ActiveMQ, RabbitMQ, MQ - Queue or Topic.
  • Custom provider - Queue or Topic. In this scenario the implementer must write the provider class name and give a path to the .bindings file.
Bindings Factory  Settings from the .bindings file that define the connection to the broker.
Bindings Source Settings from the .bindings file that define the parameters of a queue or a topic.
Password Password.
Group ID

JMS queue / topic group ID.

Can be overriden by the Broadway Actor's settings. 

Poll Timeout (ms) The time to wait for a new message.
Data Type

Supported data types: String, byte[], JSON, long.

The message type processed by Broadway Actors must be aligned with the Data type definition.

Example of Publish to JMS Broadway Flow

image

The above Broadway flow uses a Publish Actor to publish the data to the predefined JMS interface. When using a JMS Queue provider, the topic input argument indicates the queue name.

Previous