If I understand your post and your code correctly -- the problem seems to be to 
do with the ConnectionFactory you are using..

if you want your JMS message to be commited(send)/rolled-back as part of the 
CMP transaction -- you need to use the XA connection factory : java:/JmsXA ..

otherwise the JMS message will be sent regardless of the outcome of the CMP 
transaction.

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

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


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to