Announcement Announcement Module
Collapse
No announcement yet.
How to correctly ack AMQP messages after the HTTP request completed Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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?

  • #2
    Sorry for not getting to this sooner. We are in the process of moving to StackOverflow for our forums.

    This question is probably a better candidate for StackOverflow, perhaps against the #spring-amqp tag.

    If you do post it there, please reply here with the link.

    Thanks!

    Comment

    Working...
    X