cancel
Showing results for 
Search instead for 
Did you mean: 

JMS and Activiti in same transaction.

andreasa
Champ in-the-making
Champ in-the-making
Hi

I want to do a setup as this:

JMS queue -> MessageListener -> onMessage start new process instance in Activiti -> at some point commit and remove message from JMS queue.

I'm using Spring and and ActiveMQ, but I'm struggling to find out which configurations I need to do, and which transactionmanager(s) to use.

I suppose setting up a JtaTransactionManager and let the participating resources use that TM is the (only) way to go?

Thanks,
Andreas
2 REPLIES 2

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
I suppose setting up a JtaTransactionManager and let the participating resources use that TM is the (only) way to go?
Correct

andreasa
Champ in-the-making
Champ in-the-making
Anyone care to share their configuration of this? It's not easy to do in my oppinion Smiley Happy