1 Reply Latest reply on Jan 30, 2014 9:24 PM by Justin Bertram

    Possible to use 1-phase commit with embedded ActiveMQ

    raylite3 Apprentice

      Hello,

       

      I have a session bean that writes to the DB and publishes a JMS message. If I configure an embedded ActiveMQ broker (Embed ActiveMQ in JBoss AS 7) will it use a 1-phase commit ? That is will my DB write and the JMS message be written in the same DB transaction? Is there a way to configure this?

      Thanks!