Enabling batch acknowledgment for JMS messages

Configure JMS message flows to send a batch acknowledgment for receipt of non-transactional JMS messages.

About this task

You can configure message flows that use the JMS transport to send an acknowledgment to the JMS server of all non-transactional JMS messages that have not previously been acknowledged. You might want to enable batch acknowledgment if there is high network latency and want to send an acknowledgment of received messages only after a threshold has been reached.

JMS flows send acknowledgment responses in accordance with the acknowledge setting on the JMS Session created by the integration server. The default setting is AUTO_ACKNOWLEDGE, which causes JMS flows to send an acknowledgment response after receiving each non-transactional message. You can change this setting to use CLIENT_ACKNOWLEDGE instead by setting the properties Client acknowledgment batch size and Client acknowledgment batch interval in the JMS Providers policy. If CLIENT_ACKNOWLEDGE is used, the integration server calls the acknowledge() method only after a set time interval has passed, or a set number of messages are received.