[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - XA Recovery on Journal...

clebert.suconic@jboss.com do-not-reply at jboss.com
Fri Sep 5 16:48:57 EDT 2008


I have done some small changed on XID on Journal.

The Journal should be agnostic about XID IMO, The StorageManager should be the correct place to encode and decode that.

So, I have changed it a little bit. journal.prepare is now receiving an EncodingSupport, and TransactionHolder is aways holding a byte[] representing the XID.  JournalStorageManager later will translate that after load is done.


I have also added a few more assertions around Journal tests to make sure the data is handled fine on prepareTransactions.

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

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



More information about the jboss-dev-forums mailing list