Sessions are cheap so create lots of 'em. You can create lots of
connections if needed, but each connection in ActiveMQ creates a new
socket so typically you only need 1 connection per JVM.
On 8/2/06, Paul French <paul.french@frenchiesystems.com> wrote:
> Does anyone know the pros or cons in creating connections or sessions ?
>
> Say 2 connections with 1 session each
>
> or
>
> 1 connection with 2 sessions ?
>
> I am wondering why most connection pools create a pool of connections and
> not a pool of sessions instead.
> --
> View this message in context: http://www.nabble.com/connections-or-sessions-tf2039029.html#a5611329
> Sent from the ActiveMQ - User forum at Nabble.com.
>
>
--
James
-------
http://radio.weblogs.com/0112098/
|