I am using jms:message-driven-channel-adapter where I need to process the message that involves processing through multiple SI components and finally updating database or in some cases sending a JMS message.
How can I make this message processing fully transactional, meaning any error should result in message rolled back to JMS queue. I see that you can have a transaction-manager there but don’t see any example how to configure one for such case.
Also since I have concurrent-consumers set to higher number, so I will like to understand how it will behave in case of rolled back, will the message than immediately available to any other consumer or even same consumer?
Since its most likely that another consumer will fail too so how many times this message will be continue to be delivered (retried), how to deal with such scenarios.
Thank you very much