JMS – Trigger Configuration (Magic xpi 3.x)
The JMS configuration program accepts parameters required for opening and getting messages from queues.
The Component Configuration: JMS dialog box contains the following fields:
|
|
Operation Details
|
Topic
|
Select this check box if using the Publish/Subscribe service.
|
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 service 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.
|
Since version: V3.2 SP2
|
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:
-
Define JMS as a resource in the Resource Repository. For more information, click here.
-
Define JMS as a service in the Service Repository. For more information, click here.
-
Place the JMS component into a flow's trigger area to open the Component Properties dialog box.
-
Click the Settings tab, and select the required Service Name from the drop-down list. Click Configuration to open the Component Configuration: JMS dialog box. Enter the relevant information.
-
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.
|
|