Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved


Chapter 9 JMS Palette : Get JMS Queue Message

Get JMS Queue Message
Activity
The Get JMS Queue Message activity retrieves a message from the specified queue. This activity allows you to perform a receive operation on the queue as opposed to waiting for a queue message to be delivered to the Wait for JMS Queue Message activity or the JMS Queue Receiver process starter.
You can use the Message Selector field on the Advanced tab to retrieve a specific queue message from the queue.
The Get JMS Queue Message activity is different from the Wait for JMS Queue Message activity in the following ways:
Configuration
The Configuration tab has the following fields.
The JMS connection. See JMS Connection for more information about creating a JMS connection.
Note: If you are using TIBCO Enterprise Message Service as your JMS provider, you can use the Browse button next to this field after specifying a valid connection in the JMS Connection field. The Browse button displays a list of configured destinations in the JMS server that are appropriate for this activity.
Client — the message will be acknowledged at a later point by using the Confirm activity. If the message is not confirmed before the process instance ends, the message is redelivered and a new process instance is created to handle the new incoming message. Ensure that your process definition confirms the message when using this acknowledge mode.
Note — In the TIBCO ActiveMatrix BusinessWorks 5.10 release, there is a change in the behavior of this feature. Now only the messages that are not confirmed, would be redelivered.
Transactional — this mode is used when a transaction that can process JMS messages is included in the process definition. The message is acknowledged when the transaction commits. See TIBCO ActiveMatrix BusinessWorks Process Design for more information about creating transactions that JMS activities can participate in.
Advanced
The Advanced tab has the following fields.
Input
See TIBCO ActiveMatrix BusinessWorks Process Design for more information about mapping and transforming input data.
The input for the activity is the following.
Output Editor
The Output Editor tab defines the schema to use for messages of type Map, Stream, or XML Text. Map messages are name/value pairs, and the schema allows you to define the structure of the retrieved queue message. The schema defined on the Output Editor tab becomes the body of the message on the Output tab.
See Appendix A, Specifying Data Schema for a complete description of using the Output Editor tab.
Output
The output for the activity is the following.
The message header fields for the message. See JMS Properties for more information about message header fields.
The message properties for the message. See JMS Properties for more information about message properties.
Note: The DynamicProperty will overwrite the value of a property (with the same name) added using the JMS Application Property.
Error Output
The Error Output tab lists the possible exceptions that can be thrown by this activity. See TIBCO ActiveMatrix BusinessWorks Error Codes for more information about error codes and corrective action to take.
 

Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved