activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Bosanac <de...@nighttale.net>
Subject Re: activemq agent in 5.9.0?
Date Fri, 01 Nov 2013 14:08:58 GMT
You can try REST management API

http://activemq.apache.org/rest.html#REST-RestManagement

Regards
--
Dejan Bosanac
----------------------
Red Hat, Inc.
FuseSource is now part of Red Hat
dbosanac@redhat.com
Twitter: @dejanb
Blog: http://sensatic.net
ActiveMQ in Action: http://www.manning.com/snyder/


On Fri, Nov 1, 2013 at 11:00 AM, Aleksandar Ivanisevic <
aleksandar@ivanisevic.de> wrote:

>
> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message