activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Davies <rajdav...@gmail.com>
Subject Re: Constantly adding and removing consumer
Date Fri, 14 Mar 2008 07:30:32 GMT

On 13 Mar 2008, at 23:19, patrickjamesbarry wrote:

>
> I have seen this same behaviour an am interested in any info on this!
>
>
>
> david.la wrote:
>>
>> Hi,
>>
>> I'm using activemq with camel and when i turn the debug logs, I'm  
>> seeing
>> activity every second or so. It's adding and removing consumer.
>>
>> I'd like to know what is that for may be i'm misconfiguring my  
>> activemq
>> because even if there is no external activity, it's still happening.
>>
>> I recently found that the advisory module was driving ActiveMQ to  
>> use more
>> and more memory and then crash. I disabled it. I want to make sure  
>> the
>> constant activity i'm seeing the logs will not result in the same  
>> kind of
>> issues.
>>
>> The debug messages i'm seeing look like:
>>
>> DEBUG AbstractRegion                 - Removing consumer:
>> ID:test.com-38805-1205442501944-3:2:1016:1
>> DEBUG AbstractRegion                 - Removing consumer:
>> ID:test.com-38805-1205442501944-3:1:1016:1
>> DEBUG AbstractRegion                 - Adding consumer:
>> ID:test.com-38805-1205442501944-3:1:1017:1
>> DEBUG AbstractRegion                 - Adding consumer:
>> ID:test.com-38805-1205442501944-3:2:1017:1
>> DEBUG AbstractRegion                 - Removing consumer:
>> ID:test.com-38805-1205442501944-3:2:1017:1
>> DEBUG AbstractRegion                 - Removing consumer:
>> ID:test.com-38805-1205442501944-3:1:1017:1
>> DEBUG AbstractRegion                 - Adding consumer:
>> ID:test.com-38805-1205442501944-3:2:1018:1
>> DEBUG AbstractRegion                 - Adding consumer:
>> ID:test.com-38805-1205442501944-3:1:1018:1
>> DEBUG AbstractRegion                 - Removing consumer:
>> ID:test.com-38805-1205442501944-3:1:1018:1
>> DEBUG AbstractRegion                 - Removing consumer:
>> ID:test.com-38805-1205442501944-3:2:1018:1
>> DEBUG AbstractRegion                 - Adding consumer:
>> ID:test.com-38805-1205442501944-3:1:1019:1
>> DEBUG AbstractRegion                 - Adding consumer:
>> ID:test.com-38805-1205442501944-3:2:1019:1
>> DEBUG AbstractRegion                 - Removing consumer:
>> ID:test.com-38805-1205442501944-3:1:1019:1
>> DEBUG AbstractRegion                 - Removing consumer:
>> ID:test.com-38805-1205442501944-3:2:1019:1
>> DEBUG AbstractRegion                 - Adding consumer:
>> ID:test.com-38805-1205442501944-3:2:1020:1
>> DEBUG AbstractRegion                 - Adding consumer:
>> ID:test.com-38805-1205442501944-3:1:1020:1
>> DEBUG AbstractRegion                 - Removing consumer:
>> ID:test.com-38805-1205442501944-3:1:1020:1
>> DEBUG AbstractRegion                 - Removing consumer:
>> ID:test.com-38805-1205442501944-3:2:1020:1
>> DEBUG AbstractRegion                 - Adding consumer:
>> ID:test.com-38805-1205442501944-3:2:1021:1
>> DEBUG AbstractRegion                 - Adding consumer:
>> ID:test.com-38805-1205442501944-3:1:1021:1
>>
>> I have declared my camel routing (inside activemq.xml) as
>>
>> ---------------------------8ß-----------------------------
>> <camelContext id="camel"
>> xmlns="http://activemq.apache.org/camel/schema/spring">
>> <!-- … à
>>           <route>
>>                    <from uri="activemq:Router"/>
>>                    <process ref="router"/>
>> </route>
>> <!-- … à
>>  </camelContext>
>>
>> <bean id="router" class="myProcessor"/>
>> ---------------------------8ß-----------------------------
>>
>> Where bean “myProcessor” class extends
>> “org.apache.camel.processor.DelegateProcessor”
>>
>>
>>
>
> -- 
> View this message in context: http://www.nabble.com/Constantly-adding-and-removing-consumer-tp16038772s2354p16040946.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

I saw something similar too - its now fixed for my case in svn trunk




cheers,

Rob

http://open.iona.com/ -Enterprise Open Integration
http://rajdavies.blogspot.com/




Mime
View raw message