Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How does a consumer acknowledge a message from a producer?

0
Posted

How does a consumer acknowledge a message from a producer?

0

Location: http://www.jguru.com/faq/view.jsp?EID=1307 Created: Nov 28, 1999 Author: Jerry Smith (http://www.jguru.com/guru/viewbio.jsp?EID=9) The easiest way is to allow the framework to do it–automatic acknowledgment: … topicCon.createTopicSession(false, AUTO_ACKNOWLEDGE); … With client acknowledgment, a client can allow messages to accumulate until some arbitrary application condition: … topicCon.createTopicSession(false, CLIENT_ACKNOWLEDGE); … When a client acknowledges a message, the acknowledged message and all “older” messages become unavailable for future processing.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123