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: How do I determine what a consumer is being removed.
Date Sat, 14 Aug 2010 08:15:53 GMT
Are you sure you are setting your caching levels correctly so JMS
connections, sessions, producers & consumers are being reused? Eg if
you are using camel, use the activemq component - not the jms one -
then caching is set up correctly for you by default.

http://activemq.apache.org/jmstemplate-gotchas.html

On Friday, August 13, 2010, Robillard, Greg L <greg.l.robillard@lmco.com> wrote:
> I am running a stability test on activemq and periodically, my consumers are being removed
and they shouldn't be.  How can I determine the cause of the disconnect.  Is it client,
network, activemq, etc.
>
> 2010-08-13 16:18:49,456 | DEBUG | fltwinds2 removing consumer: ID:EAGD9722385-1439-1281714133716-0:1:1:1
for destination: temp-queue://ID:EAGD9722385-1439-1281714133716-0:1:1 | org.apache.activemq.broker.region.AbstractRegion
| ActiveMQ Transport: tcp:///129.218.85.48:1448
>
>
> apache-activemq-5.3.2
>
> using non-persistent queues
>
> using openwire jms connections
>
> Running 30 concurrent connections with anywhere from 300 - 500 messages per minute.
>
> <policyEntry queue=">" producerFlowControl="false" memoryLimit="5mb">
>                   <pendingMessageLimitStrategy>
>                     <prefetchRatePendingMessageLimitStrategy multiplier="1.5"/>
>                   </pendingMessageLimitStrategy>
>                   <pendingQueuePolicy>
>                     <fileQueueCursor/>
>                   </pendingQueuePolicy>
>                 </policyEntry>
>
>
> <!-- System Useage -->
>         <systemUsage>
>             <systemUsage>
>                 <memoryUsage>
>                     <memoryUsage limit="128 mb"/>
>                 </memoryUsage>
>                 <storeUsage>
>                     <storeUsage limit="1 gb"/>
>                 </storeUsage>
>                 <tempUsage>
>                     <tempUsage limit="100 mb"/>
>                 </tempUsage>
>             </systemUsage>
>         </systemUsage>
>

-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://fusesource.com/

Mime
View raw message