Reputation: 351
Is there any way i can acknowledge a message based on the message id only. My scenario is like this:
Here the requirement is to the webservice should be able to acknowledge the message based on the message id.
Upvotes: 1
Views: 3539
Reputation: 424
Right now, you can only call the acknowledge() method on the respective message object to acknowledge that particular message. But keep in mind that calling the acknowledge() method on a message object which is not present in the broker will cause 'Could not correlate acknowledgment with dispatched message' exception.
Upvotes: 2