ok, so instead of adding a mapping for an address when the first binding is added we do
this for each allowable address. for queues this is no different as its always added
anyway, but for topics there'll be a mapping which contains an empty bindings object.
This means that when a new consumer registers with a wildcard queue i can garauntee that
theres always a mapping to check. so lets say the wildcard topic is topicjms.topic.* i can
search the mappings to make sure that binding topicjms.topic.A also gets this binding
registered with it. Before i couldn't do this which is why i was pre calculating the
whole map.
actually come to think of it, we could remove allowable destinations completely and for
containsDestination we could just use the keyset of the mappings.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199729#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...