5 Replies Latest reply on Aug 18, 2012 3:35 AM by njiang

    How to setThreadName() for .threads() in routeBuilder?

    mikek753_michael.korolyov

      hi,

       

      I have as part of my route

      from("...")

      .threads(poolSize, maxPoolSize)

      .beanRef(...);

       

      How I can name my thread pool?

      The ThreadsDefinition.setThreadName() is void

      and threads() doesn't have any extra parameters to set pool name

       

      the same applies to maxQueueSize

       

      thanks.