activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: connections or sessions
Date Wed, 02 Aug 2006 11:26:28 GMT
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/

Mime
View raw message