-
Jan 24th, 2013, 10:22 AM
#1
How to correctly ack AMQP messages after the HTTP request completed
I have a controller method consuming messages from a AMQP queue - but I do not want to acknowledge those messages until I am sure as possible that the client that did the http request got the data (so that no data gets lost in case the http request would fail after leaving the controller method).
So far what I have been able to find is that you can use Spring interceptors to implement the "afterCompletion" which would be called after the request has been successfully completed. But this feels like overkill?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules