2 Replies Latest reply on Oct 30, 2009 9:26 PM by Tim Fox

    RedistributionDelay default to -1 (not defined?)

    Clebert Suconic Master

      I was banging my head over this today. My redistribution test only worked after I defined the redistribution delay.


      As I defined the clustered connection, I didn't expect any delays to be configured. (I was expecting it to be just redistributed).


      Why we do this checking on PostOfficeImpl when a consumer is created?

       long redistributionDelay = addressSettings.getRedistributionDelay();
      
       if (redistributionDelay != -1)
       {
       queue.addRedistributor(redistributionDelay, redistributorExecutorFactory.getExecutor());
       }