Hi, I have a route that consumes messages from a queue. This route is transacted because write to a database calling a bean. I have to be sure that the messages are not consumed in parallel way but one by one on completion of the route.
I tried using a RoutePolicy, stopping the consumer in onExchangeBegin() and starting it in onExchangeDone(), but it doesn't work. How can I achieve it? Best regards Alberto