I am trying to create a camel route having rabbitmq consumer inside a transaction. I am using Spring boot and atomikos for tx management. Rabbit MQ queue already has x-dead-letter-exchange and routing key set up.
How should I wrap my rabbitmq connection factory inside JTA tx manager ? I tried transact block but it didn't work. Also I don't see an option in RabbitMq component to set tx manager.