gmagnotta commented on issue #2815:
URL: https://github.com/apache/camel-quarkus/issues/2815#issuecomment-865663150


   Hi @jamesnetherton,
   
   wrapping the ActiveMQXAConnectionFactory inside a ConnectionFactoryProxy 
seems to work.
   
   ```
   ActiveMQComponent activeMq = new ActiveMQComponent();
   activeMq.setConnectionFactory(new 
ConnectionFactoryProxy(activeMQConectionFactory, new 
TransactionHelperImpl(transactionManager)));
   activeMq.setTransacted(true);
   activeMq.setTransactionManager(jtaTransactionManager);
   ```
   
   This seems a viable workaround, but honestly, It would be better if it could 
works out of the box...


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to