JBoss-User,
I have created a MessageDrivenBean that serves as the responder in a request
/ reply scenario. I get the reply Destination from the JMSReplyTo property
on the message. The handling of the onMessage code is simple.
I lookup the QueueConnectionFactory, create a QueueConnection, create a
QueueSession (with true, Session.AUTO_ACKNOWLEDGE), create a QueueSender and
ultimately send the message.
The MessageDrivenBean is deployed using Container managed transaction, with
all methods (*) marked as Required. The messages sent from the
MessageDrivenBean are not delivered to the queue until I explicitly call
commit on the QueueSession. It is my understanding (of the EJB 2.0 Spec)
that when a Container managed transaction is active, any use of a JMS
Session will be part of the containers transaction.
Does anyone have any experience to share concerning this issue?
Regards,
Michael
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user