[jboss-user] [EJB/JBoss] - Quartz/Hibernate/JMS Transactions

homerlex do-not-reply at jboss.com
Tue Sep 11 12:52:31 EDT 2007


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?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083117#4083117

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083117



More information about the jboss-user mailing list