[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: JBMESSAGING-410 - Use of JmsXA in non transactional envi

timfox do-not-reply at jboss.com
Thu Aug 31 16:58:22 EDT 2006


"ovidiu.feodorov at jboss.com" wrote : 
  | 
  | If there is no distributed transaction, then there can be no "prepare and commit work on the transaction", hence the session is non-transactional.

That is one solution, but it isn't a logical necessity.

Other conforming implementations would be that messages (or acks) are stored up in the session, until work is started in a transaction, then the previous work done is transferred into the transaction.

In fact, a similar conversion already happens in certain situations:

See ResourceManager::convertTx(LocalTx anonXid, Xid xid) throws XAException

Which converts work done outside a global tx into work done inside the global tx.

As I said earlier in this thread, this is a religious argument and I don't think we'll find any conclusion in the JMS spec, since it is sparse at the best of times, especially the XA stuff.


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

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



More information about the jboss-dev-forums mailing list