5 Replies Latest reply on Aug 9, 2011 10:21 AM by Demian Calcaprina

    Integrating HornetQ with Bitronix Transaction Manager

    Demian Calcaprina Master

      Hi All,

       

      I don't know it if it a matter of hornetQ or Bitronix, but any advice about where I could check would be really appreciated.

       

      I am trying to use HornetQ, configured with a Bitronix transaction manager, to integrate it in JBPM5.

       

      The problem I am having is that the producer puts a message in a queue, and then, I commit the transaction. After that, the consumer never seems to receive the message.

       

      I have made a simple test that shows how I am reproducing it:

      https://github.com/calcacuervo/JBPM5-Samples/blob/master/human-tasks/src/test/java/com/test/jms/HornetQXATest.java

       

      HornetQ version is 2.0.0.GA, which is the current one used in jbpm.

       

      I would also like to know if this is the right way to start the server, from I need to lookup the connection factory for bitronix.

       

      Thanks in advance,

       

      Demian