activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From watcher <patr...@daly.ws>
Subject Re: statisticsBrokerPlugin error
Date Tue, 05 Oct 2010 20:24:40 GMT

I've noticed another issue here.

I'm now trying to use a wildcard to get stats from multiple queues.

I have 2 or more queues, for example 

contest:adj.1
contest:adj.2
....
contest:adj.N

here's my route
  <route>
      <from uri="timer://foo?fixedRate=true&period=2000"/>
      <inOut
uri="activemq:queue:ActiveMQ.Statistics.Destinationcontest:adj.*"/>
      <to uri="activemq:topic:Statistics.Topic"  pattern="InOnly"/>
  </route> 

But in my consumer I only every receive stats for one queue.

I've tested with the following and my consumer will receive both stats.

  <route>
      <from uri="timer://foo?fixedRate=true&period=2000"/>
      <inOut
uri="activemq:queue:ActiveMQ.Statistics.Destinationcontest:adj.1"/>
      <to uri="activemq:topic:Statistics.Topic"  pattern="InOnly"/>
  </route> 

  <route>
      <from uri="timer://foo1?fixedRate=true&period=2000"/>
      <inOut
uri="activemq:queue:ActiveMQ.Statistics.Destinationcontest:adj.2"/>
      <to uri="activemq:topic:Statistics.Topic"  pattern="InOnly"/>
  </route> 


Any ideas?
Thanks
-- 
View this message in context: http://activemq.2283324.n4.nabble.com/statisticsBrokerPlugin-error-tp2716123p2956800.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message