"mmusgrov" wrote : 
  | This is a problem for TM recovery since the XAResource a for temporary 
topic queue does not return XAResource.XA_RDONLY for the prepare phase. Thus 
when the TM calls recover on the resource no xids are returned and hence the 
transaction can never be recovered.
  | 

I don't understand this? If JBossMQ doesn't return the XID then the TM
must assume it was committed.

anonymous wrote : 
  | Could anyone hazzard a guess as to how much effort would be involved in 
resolving this issue.

It would however be a good optimization to return read only in this case. 
(Read Only i s an optimization which is why the behaviour you describe is not a 
bug).

The PersistenceManager knows whether
it wrote anything to the transaction log (database). 
i.e. it could do org.jboss.mq.pm.Tx.checkPersisted()
but unfortunately the ServerIL has no way to return this information to the 
client.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4151501
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to