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?