activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Tully <gary.tu...@gmail.com>
Subject Re: PooledConnectionFactory and consumer pooling
Date Fri, 10 Apr 2009 11:11:42 GMT
see:
http://www.nabble.com/JMS-pooling...-pool-package-in-activeMQ-td21811493.html
for the low down on prefetch and consumers using a pool.

To your second question, can you expand on your issue with
setExceptionListener?

2009/4/8 Lukasz Zielinski <zieluuuu@gmail.com>

>
> Hello,
>  javadoc for PooledConnectionFactory (PCF) states that it should not be
> used
> for consumer pooling but I need connection pooling when dealing with
> publishers and subscribers using pure JMS API. I'd like to ask what is the
> reason for not supporting this use case.
>
> As I understand consumer pooling in this case means that multiple
> connections are obtained from PCF, next some sessions are created using
> those connection and finally MessageConsumers are created with
> MessageListeners set.
>
> The reason for my question is ExceptionListener handling in
> PooledConnection
> (PC). Current implementation leads to listener overwrite when
> setExceptionListener is called on connections created by PCF.
>
>
> --
> View this message in context:
> http://www.nabble.com/PooledConnectionFactory-and-consumer-pooling-tp22952902p22952902.html
> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
>
>


-- 
http://blog.garytully.com

Open Source SOA
http://FUSESource.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message