Hi,

I've got a with MDB + Hibernate + JMS transaction.
What I wanted to achieve is to use CMT MDB, which will rollback (put the 
message back to queue) if something wrong in the onMessage() method.
Inside the onMessage() method, I have hibernate database update code and jms 
code to send message to another queue.

But I found that the jms code doesn't involve in the XA transaction by default. 
I should use BMT and enlist the JMS into the transaction manager in order to 
make it work. However, the MDB can no longer put the message back to the queue 
for exceptions by using BMT...

In summary, is there any solution for CMT MDB with hibernate and jms xa 
transaction?

Thanks!!

Ken

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

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to