Hi JBoss Team,

We have an application at drkw which uses a message driven bean, and we are
trying to have database calls made in the onMessage method in the same
transaction as the message delivery itself.

However, the jbossmq persistence manager suspends the transaction started by
the mdb, and starts its own tx to persist the successful receipt of the
message in the store.
(see the TransactionManagerStrategy in
org.jboss.mq.pm.jdbc2.PersistenceManager)

We were wondering what the rationale was for this, and also if there would
be any unforseen problems in replacing the PersistenceManager with one which
carries out the work on the existing tx?

Many thanks,

Phil


----------------------------------------------------------------------
If you have received this e-mail in error or wish to read our e-mail 
disclaimer statement and monitoring policy, please refer to 
http://www.drkw.com/disc/email/ or contact the sender.
----------------------------------------------------------------------



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to