[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Algorithm broken in WildcardAddressManager

ataylor do-not-reply at jboss.com
Tue Jan 6 08:04:55 EST 2009


anonymous wrote : Like I said before, there is no guarantee that an allowable destination exists - this is only used for JMS!!
  | 
  | You're assuming there always an allowable destination for every address that can be routed to - that is not correct.
  | 
  | Allowable destinations are only used if checkAllowable is true.

I'm not using the allowable destinations to decide on routing, I'm using whatever mappings exist. If there is no allowable address but just a mapping thats fine, it will work. Currently the only place it doesn't is like you say when theres an allowable destination but no mappings. i.e. a topic with no registered consumers. All I'm doing is making sure that theres always a mapping for every allowable destination, the only difference is that it may contain no binding's.

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

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



More information about the jboss-dev-forums mailing list