[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Sending NonTransactional Messages with journal-sync-non-
clebert.suconic@jboss.com
do-not-reply at jboss.com
Fri Jun 5 17:17:33 EDT 2009
I was thinking.. I guess this is broken.. it probably needs a fix after Beta.
The user may save a message non transactionally.. fine.. but on the server side, we shouldn' t allow half of that send be persisted. ServerSessionImpl::doSend should open/commit a transaction if the user is not opening one.
Right now, ServerSessionImpl::doSend will call PostOffice.route(msg, transaction=null). If the server crash in the middle of route.. I guess part of the data is in, part is out. (mainly on the cases with address with multi-queues).
The only case I saw a transaction being opened on PostOfficeImpl (... if tx=null) is when storing dupplicate IDs.
Any thoughts?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4235754#4235754
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4235754
More information about the jboss-dev-forums
mailing list