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


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3866418#3866418

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3866418


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to