I am playing around with spring integration to see if this can be used in one of our projects.
My requirement is simple.
1) My application sends a message to an activeMQ on an event in the application.
2) There is a message driven channel adapter that listens for messages on this queue and calls a method in the service activator.
3) The service activator makes a web service API call to an outbound system.
There might be a situation when the external outbound system may be down and we would like to return the message to the queue so that it can be re-tried later.
I see that the message driven channel adapter automatically acknowledges the message.
Is there a way to handle my use case?


Reply With Quote
