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


Chapter 9 JMS Palette : Wait for JMS Queue Message

Wait for JMS Queue Message
Activity
The Wait for JMS Queue Message waits for the receipt of a message for the specified JMS queue.
See Scalability With Incoming Events in TIBCO ActiveMatrix BusinessWorks Process Design Guide for information on running the "Wait for..." activities in a multi-engine mode. See Using Wait for JMS Queue Message Activity in Multi-Engine Design for more details on using the activity in a multi-engine design.
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.
Text — The message is a java.lang.String.
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. 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.
Specifies the polling interval to check for new messages. This default interval is set by the custom engine property bw.plugin.jms.receiverTimeout. If no value is specified for the property, the default polling interval is one second.
Message Event
The Event tab has the following fields.
This expression is specified in XPath, and only data from the incoming event is available for use in this XPath expression. See TIBCO ActiveMatrix BusinessWorks Process Design for more information about XPath expressions.
 
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 incoming messages whose message type is Map, Stream, or XML Text. Map messages are name/value pairs, and the schema allows you to define the structure of the incoming message. Once defined, the schema on the Output Editor tab becomes the structure used for the body of the message displayed 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