<flow name="RollbackFlow">
<jms:inbound-endpoint queue="QIN">
<jms:transaction action="ALWAYS_BEGIN"/>
</jms:inbound-endpoint>
<component class="TestComponent"/>
<default-exception-strategy>
<rollback-transaction exception-pattern="*"/>
</default-exception-strategy>
</flow>
In this flow when an exception is thrown by the Test component, the message is dequeued from QIN. How do I modify the flow so that message will not get dequeued from QIN?
Rollback is the default behavior, this part of the config is redundant. Next, I’m not sure what you’re seeing is dequeing, otherwise the whole promise of transactions in Mule would be dysfunctional. Probably one of these 2 things are happening:
Andrew