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

timfox do-not-reply at jboss.com
Thu Jan 8 09:49:50 EST 2009


Here's a very simple test which causes the WildcardAddressManager to crash:


  |       AddressManager am = new WildcardAddressManager();
  |       
  |       Binding binding1 = new MyBinding();
  | 
  |       am.addMapping(new SimpleString("a.b.c.d.e.f.g.h.i.j.k.l.m.n.*"), binding1);
  |       
  |       Bindings bindings = am.getBindings(new SimpleString("a.b.c"));
  |       
  |       assertTrue(bindings.getBindings().isEmpty());
  | 

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

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



More information about the jboss-dev-forums mailing list