activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From john <>
Subject RE: statisticsBrokerPlugin with Camel in Servicemix
Date Fri, 03 Jun 2011 15:05:21 GMT
Yes, I tried going to ActiveMQ.Statistics.Broker. I assume that using
the <inOut> in Camel takes care of setting the replyTo.


I finally created a unit test to run. This led to realize that it
doesn't look like I get a statistics for a queue response back if no
messages have been sent to the queue or if there is not a Camel consumer
for the given queue. I've moved over to using the Broker statistics as
you suggest while I get the route straight.


I'm now to the point that I'm trying to use the same code from my
working unit test in my servicemix deployed app. Even with working xml
route moved from the unit test to my bundle I get the Camel timeout on a


Is there a way to query activemq to ensure that my configuration change
to the activemq.xml file which includes the statistics plugin took?


That configuration the only difference I can think of between my unit
test and the deployed app.






From: Rob Davies [via ActiveMQ]
Sent: Friday, June 03, 2011 3:37 AM
To: John Fansler
Subject: Re: statisticsBrokerPlugin with Camel in Servicemix


have you tried sending a message to ActiveMQ.Statistics.Broker - to see
if you get a response (you need to set the replyTo destination on the
message) ? 

On 2 Jun 2011, at 21:13, john wrote: 

> I'm running the fuse 4.2.0-fuse-02-00 release. 
> It includes activemq 5.3.1 along with Camel 2.2 all running in
> The two work great together, but now I'm trying to use the 
> statisticsBrokerPlugin to query the number of messages on a queue. 
> I've attempted this several different ways in Camel, finally falling
back to 
> the example route in the ActiveMQ in Action book but I still can't get
> response from the plugin. I have updated the activemq.xml file to
> the plugin. 
> Every time I send a message to the statistics queue, I get an error
> the Camel route does not get a response within 20 seconds. 
> Any help on how to determine whether the plugin is really active or
how to 
> trace where things are falling apart is appreciated. 
> Thanks! 
> -john 
> -- 
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at 


If you reply to this email, your message will be added to the discussion

To unsubscribe from statisticsBrokerPlugin with Camel in Servicemix,
click here

View this message in context:
Sent from the ActiveMQ - User mailing list archive at
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message