[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Bug in transactional delivery in an MDB

clebert.suconic@jboss.com do-not-reply at jboss.com
Mon Apr 30 12:42:10 EDT 2007


Probably not, after all there's nothing stopping the user from just calling setListener() on the session. It would be pretty pointless but not illegal. 

The if would be only session.isXA() && distinguishedSesion!=null. 
And that wouldn't invalidate any customer's usage. This would only assume the ACK will be done transactionally. I think this should be fine and better than instanceof then.

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

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



More information about the jboss-dev-forums mailing list