I'm developing a JMS Listener with Spring Integration and my jms:message-driven-channel-adapter is using the error-channel in order to manage the errors throwed during the process. My problem is that even with errors the process keep listening the queue and i would like to interrupt the process depending of the kind of error retrived.
There is any solution provided by Spring Integration to do that? Maybe i could use a service-activator... but how?
Thanks very much!