activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aleksandar Ivanisevic <aleksan...@ivanisevic.de>
Subject Re: activemq agent in 5.9.0?
Date Fri, 01 Nov 2013 10:00:12 GMT

I use it to get the consumer count on a topic to know in advance how
many replies to expect when sending a message to a topic.

"query -QTopic=Topicname --view ConsumerCount"

Can you suggest an alternative way that would not involve the overhead
of spawning activemq-admin and its JVM as I'm running this pretty
frequently? Perhaps a Camel bean but I don't know enough about camel
and this was really convenient.

Gary Tully <gary.tully@gmail.com>
writes:

> the documentation is lagging the implementation - that feature was
> removed in 5.9
> see: https://issues.apache.org/jira/browse/AMQ-4406
>
> What do you use the commandAgent for?
>
> On 31 October 2013 14:50, Aleksandar Ivanisevic
> <aleksandar@ivanisevic.de> wrote:
>>
>> Hi,
>>
>> what happened with ActiveMQ Agent in 5.9.0? I'm trying to upgrade from
>> 5.8.0 but I'm getting this:
>>
>> ERROR | Failed to load: class path resource [activemq.xml], reason:
>> Line 127 in XML document from class path resource [activemq.xml] is
>> invalid; nested exception is org.xml.sax.SAXParseException;
>> lineNumber: 127; columnNumber: 67; cvc-complex-type.2.4.c: The
>> matching wildcard is strict, but no declaration can be found for
>> element 'commandAgent'.
>> org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException:
>> Line 127 in XML document from class path resource [activemq.xml] is
>> invalid; nested exception is org.xml.sax.SAXParseException;
>> lineNumber: 127; columnNumber: 67; cvc-complex-type.2.4.c: The
>> matching wildcard is strict, but no declaration can be found for
>> element 'commandAgent'.  at
>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:396)
>> at
>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
>> at
>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
>>
>>
>> Is it now configured differently? Nothing has changed at
>> http://activemq.apache.org/command-agent.html as far as I can see?
>>
>> thanks,
>>
>
>
>
> -- 
> http://redhat.com
> http://blog.garytully.com
>

-- 
Ti si arogantan, prepotentan i peglaš vlastitu frustraciju. -- Ivan
Tišljar, hr.comp.os.linux


Mime
View raw message