[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Client failover redeliveries discussion

clebert.suconic@jboss.com do-not-reply at jboss.com
Tue Oct 17 16:31:33 EDT 2006


"timfox" wrote : "clebert.suconic at jboss.com" wrote :  The idea is to get a new connection, but keep the actual delegates we are using.
  |   | 
  | 
  | I see what you are doing. You want to re-use the old delegate instance - in which case you need to change the ids.
  | 
  | Having said that, why do you want to keep the old delegates? Why not just create new ones? Then you won't have to change any ids - I would have thought this would be simpler and it's what I imagined when I thought this through.

That's was my first idea, to repalce delegates. But it was easier to just replace the ID instead of replacing eventually listeners and things like that.

If I wanted to repalce the entire delegate I would have more data to replace (think about listeners), consequently more space for errors.

Replacing the ID was just easier.

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

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



More information about the jboss-dev-forums mailing list