activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "david.la" <mehdi.aitouf...@gmail.com>
Subject Constantly adding and removing consumer
Date Thu, 13 Mar 2008 21:11:41 GMT

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-tp16038772s2354p16038772.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message