cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet" <gno...@gmail.com>
Subject Re: Question about JMS Session Pool
Date Wed, 03 Sep 2008 18:00:10 GMT
Commons-pool is not a JMS connection pool.
I was mostly thinking about the ActiveMQ one, but i think each JMS
provider should have its own connection pool.  In a Java EE
environment, the connection pool is done by the server and you don't
have to think about it.  Anyway, it's part of the ConnectionFactory
set up by the user, so the CXF code should not really take care of it.

On Wed, Sep 3, 2008 at 7:23 PM, Christian Schneider
<chris@die-schneider.net> wrote:
> Guillaume Nodet schrieb:
>>
>> The Spring JMS layer contains two parts: the JmsTemplate which can be
>> used to send / consume messages, and the MessageListenerContainers
>> that can be used to consumer messages more efficiently.  Caching is
>> configurable on the DefaultMessageListenerContainer, but the
>> JmsTemplate doesn't do caching, mainly because it is meant to work in
>> a Java EE environment, where the client is supposed to create a
>> connection / session / sender every time.  Thus, a really good thing
>> is to configure a JMS pooled connection factory underneath (see
>> http://activemq.apache.org/spring-support.html).
>>
>>
>>
>
> Hi Guillaume,
>
> what connection pooling do you use? I know there is one implementation in
> http://commons.apache.org/pool/. Spring also contains Pooled Session
> Factories but there
> are several... Which would you suggest to use?
>
> Best regards
>
> Christian
>
> --
>
> Christian Schneider
> ---
> http://www.liquid-reality.de
>
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/

Mime
View raw message