[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Nasty bug in new message grouping code

timfox do-not-reply at jboss.com
Mon Sep 29 07:30:40 EDT 2008


  |  public static final DistributionPolicy DEFAULT_DISTRIBUTION_POLICY = new RoundRobinDistributionPolicy();
  | 

This means the same distribution policy instance is shared by all queues in the VM!

Since this class contains state, this means all concurrent delivery with multiple queues is currently hosed.

Each queue must maintain its own instance of DistributionPolicy.

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

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



More information about the jboss-dev-forums mailing list