1 Reply Latest reply on May 21, 2010 7:12 AM by Manish Temkar

    How to reduce JMS session Worker numbers?

    Weixin Wang Newbie

      I am using a Message Driven Bean to access Database.

      The access should be uniqe. I just want only one worker for this
      JMS pool.

      When two messages arrived the log as following:

      [05/02/10 08:21:53] <I> [JMS SessionPool Worker-0] <Catalog> Index product batch time: 22531 ms
      [05/02/10 08:22:03] <I> [JMS SessionPool Worker-0] <Catalog> Index product batch: 50 products
      [05/02/10 08:22:07] <I> [JMS SessionPool Worker-1] <Catalog> Index product batch time: 26859 ms
      [05/02/10 08:22:13] <I> [JMS SessionPool Worker-0] <Catalog> Index product batch time: 10578 ms
      [05/02/10 08:22:16] <I> [JMS SessionPool Worker-1] <Catalog> Index product batch: 50 products
      [05/02/10 08:22:19] <I> [JMS SessionPool Worker-0] <Catalog> Index product batch: 50 products
      [05/02/10 08:22:22] <I> [JMS SessionPool Worker-0] <Catalog> Index product batch time: 2172 ms
      [05/02/10 08:22:29] <I> [JMS SessionPool Worker-0] <Catalog> Index product batch: 50 products
      [05/02/10 08:22:33] <I> [JMS SessionPool Worker-1] <Catalog> Index product batch time: 16781 ms
      [05/02/10 08:22:43] <I> [JMS SessionPool Worker-0] <Catalog> Index product batch time: 13859 ms
      [05/02/10 08:22:45] <I> [JMS SessionPool Worker-1] <Catalog> Index product batch: 50 products
      [05/02/10 08:22:52] <I> [JMS SessionPool Worker-0] <Catalog> Index product batch: 50 products
      [05/02/10 08:23:13] <I> [JMS SessionPool Worker-1] <Catalog> Index product batch time: 27782 ms


      Could anybody tell me how to reduce JMS session workers?

      Thank you very much