3 Replies Latest reply on Oct 7, 2011 5:07 AM by Stian Thorgersen

    Asynchronous EJB thread pool configuration in 7.0.2

    Guenther Bodlak Newbie

      Hi,

       

      how can we configure the tread pool for asynchronous ejb calls?

       

      With the usage of the standalone-preview.xml I see the pool must be limited by 2 threads.

      I can see this when I call a sample ejb method annotated with @Asynchronous.

      The method just logs the start and the end and sleeps some seconds.

      When I call it I see only the threads "pool-2-thread-1" and "pool-2-thread-2" and the method invocations are queued.

       

      Thanks

      Günther