[jboss-user] [JBoss Messaging] - Re: Any recommendation how to use JBM2 Producers Pool?

2009-07-15 Thread adridi
Thanks Tim and Andy! The JCA adapter pool works great for me. Abdel View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4243829#4243829 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243829

[jboss-user] [JBoss Messaging] - Re: Any recommendation how to use JBM2 Producers Pool?

2009-07-14 Thread ataylor
you are correct that (1) should be avoided. regarding (2), When you are using 1 connection per producer are you creating a new session per producer. JBM2 will share connections between sessions created by the same connection factory, see

[jboss-user] [JBoss Messaging] - Re: Any recommendation how to use JBM2 Producers Pool?

2009-07-14 Thread timfox
If you're servlets are running in the same AS instance as the broker and it's JBoss AS then you can just use the JMS JCA adapter to pool connections. If it's not JBoss then you can share a ConnectionFactory (or ClientSessionFactory) instance between servlets - this will provide its own pooling