Software AG Products 10.7 | Integrating On-Premises and Cloud Applications | Integration Server Built-In Services | JMS Folder | Summary of Elements in This Folder | pub.jms:acknowledge
 
pub.jms:acknowledge
WmPublic. Sends an acknowledgment for a message to the JMS provider.
Input Parameters
message
Object A javax.jms.Message object that identifies the message for which you want Integration Server to send an acknowledgment to the JMS provider.
Output Parameters
None.
Usage Notes
Use this service to acknowledge a message retrieved from the JMS provider if:
*The message was received using the pub.jms:receive service, and
*The message consumer used to retrieve the message has an acknowledgmentMode set to CLIENT_ACKNOWLEDGE or DUPS_OK_ACKNOWLEDGE. For more information about creating a message consumer, see pub.jms:createConsumer.
A message is not considered to be successfully consumed until it is acknowledged.
Note:
Acknowledging a message automatically acknowledges the receipt of all messages received in the same session. That is, all messages received by the same consumer will be acknowledged when just one of the received messages is acknowledged.
See Also
pub.jms:createConsumer
pub.jms:receive