1 Reply Latest reply on Jan 2, 2009 10:09 AM by Kevin Conner

    non fixed jms thread pool?

    Joakim Sandstroem Newbie

      We are developing an esb application that has a lot of services, in order to cope with high user peeks we have configured the jms listeners to have maxThreads="100".

      I looked through the MessageAwareListener and noticed that the executor is initialized using a fixed thread pool:

       _execService = Executors.newFixedThreadPool(_maxThreads) ;

      120 services * 100 threads = total of 12 000 threads.

      My suggestion is that the executor service should be initialized with a ThreadPoolExecutor that starts of with 1/10'th of the specified maxThreads.