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

timfox do-not-reply at jboss.com
Mon Apr 30 12:34:02 EDT 2007


"clebert.suconic at jboss.com" wrote : 
  | Isn't SessionState.getDistinguishedListener only used for ASF?
  | 
  | 

It's the only user AFAIK.

anonymous wrote : 
  | Maybe a simple getDistinguishedListener()!=null would be enough instead of instanceof.

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.



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

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



More information about the jboss-dev-forums mailing list