0 Replies Latest reply on Sep 11, 2007 12:52 PM by homer homer

    Quartz/Hibernate/JMS Transactions

    homer homer Newbie

      I am playing with quartz and have setup a sample similar to the one here: http://www.len.ro/work/articles/jboss/creating-a-quartz-job

      I am trying to update a db using Hibernate and within the same transaction I want to add a message to a JBoss Queue. I cannot figure out how to get the JMS send to participate. If I throw an exception the db tx is rolled back but the message still hits the queue.

      Can anyone provide info to help me get the transaction working properly?