JMS Message Acknowledgment Mode
Overview of acknowledgment modes for JMS message.
Set the acknowledgment mode for the JMS message by adding a configuration property in the ASG_CONFIG_HOME/asg.properties file as follows:
tibco.clientVar.ASG/SharedResources/JMS/ackMode=acknowledgement_mode_number
where acknowledgement_mode_number is one of the numbers that represent an acknowledgment mode, as shown in JMS Message Acknowledgement Modes table.
For example, if you want to set the acknowledgement mode as CLIENT_ACKNOWLEDGE, add the property as follows:
tibco.clientVar.ASG/SharedResources/JMS/ackMode=2
Note:
- The standard acknowledgement modes (1-AUTO_ACKNOWLEDGE,2-CLIENT_ACKNOWLEDGE,3-DUPS_OK_ACKNOWLEDGE) are supported by all the JMS providers such as IBM WebSphere MQ.
- The extended acknowledgment modes (22-NO_ACKNOWLEDGE, 23-EXPLICIT_CLIENT_ACKNOWLEDGE, 24-EXPLICIT_CLIENT_DUPS_OK_ACKNOWLEDGE) are provided as an extension only by TIBCO Enterprise Message Service. These modes are not supported by other JMS providers such as IBM WebSphere MQ.
- If you are using TIBCO Enterprise Message Service for JMS transport, use the extended acknowledgment modes (22-NO_ACKNOWLEDGE, 23-EXPLICIT_CLIENT_ACKNOWLEDGE, 24-EXPLICIT_CLIENT_DUPS_OK_ACKNOWLEDGE) for performance and tuning purposes.
Copyright © Cloud Software Group, Inc. All rights reserved.