Salesforce

JMS - Trigger Configuration (Magic xpi 4.6)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

JMS – Trigger Configuration (Magic xpi 4.6)

The JMS configuration program accepts parameters required for opening and getting messages from queues.

The Component Configuration: JMS dialog box contains the following fields:

Property

Description

Operation Details

Message Model

Select the required message model from the drop-down list:

  • Point_to_point (default)

  • Publish_And_Subscribe

Queue Name

Enter the destination name of the Queue or Topic. Click to select a global variable from the Variables List.

Acknowledge Mode

Select one of the following from the drop-down list to indicate the Acknowledge Mode status:

  • AUTO ACKNOWLEDGE: The session automatically acknowledges the receipt of a message by the client.

  • CLIENT ACKNOWLEDGE: The client acknowledges a message by calling the message’s acknowledge method.

  • DUPS OK ACKNOWLEDGE: This option instructs the session to acknowledge message delivery. This can result in the delivery of duplicate messages if the JMS provider fails, therefore this option should only be used by clients that can handle duplicate messages.

Message Selector

This is used to filter messages. Enter Magic or JMS to indicate which messages can be received.

Durable Subscription

Select this if you want the ability to use Durable Subscriptions, which allows non-active subscribers to receive messages. This is available only when the Publish/Subscribe utility is used.

Durable Subscription name

The name of the Durable Subscription service.

Keep Alive Interval (Minutes)

The amount of time in minutes that the trigger can be unresponsive before it is automatically restarted. The default value is 0, which means that the trigger can be permanently unresponsive.

Note:

You should be very careful when selecting a value for this parameter. If the chosen value is too small, a trigger may terminate before it completes a valid operation.

Message Type Into

Click to the right of the field to open the Variables List. From the list, select a variable as a location for the message type.

Message Contents Into

Click to the right of the field to open the Variables List. From the list, select a variable as a location for the message contents.

Arguments XML Location

Click to the right of the field to open the Variables List. From the list, select a variable as a location for the XML results.

Reconnection Policy

Reconnect Every (Seconds)

You can try to reconnect to the JMS server. Enter a time interval, in seconds, that the Magic xpi Server will wait before attempting to reconnect to the JMS server.

Attempt to Reconnect (Times)

Enter the maximum number of attempts the Magic xpi Server makes to reconnect to the JMS server. For unlimited attempts, enter 0.

To configure the JMS component as a trigger, follow these steps:

  1. Define JMS as a resource in the Settings dialog box's Resources section. For more information, click here.

  2. Define JMS as a service in the Settings dialog box's Services section. For more information, click here.

  3. Place the JMS component into a flow's trigger area to open the Properties pane.

  4. In the Setting section, select the required Service Name from the drop-down list.

  5. Double-click or right-click on the component and select Configuration from the context menu to open the Component Configuration: JMS dialog box. Enter the relevant information.

  6. When you have finished configuring your JMS trigger, click OK to save the settings and to exit the dialog box. Alternatively, you can click Cancel to exit the dialog box without saving your settings.

Note:

The JMS component can be used as a trigger with the Get method only.

Reference
Attachment 
Attachment