Ya jolokia rocks.

So it makes all the JMX accessible over REST.

This is what we also use for the new web console
http://hawt.io/

So basically what you can see being done in that web console, you can
do as well from any language / script with REST calls.




On Fri, Nov 1, 2013 at 3:08 PM, Dejan Bosanac <de...@nighttale.net> wrote:
> 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
> dbosa...@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 <
> aleksan...@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.tu...@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
>> > <aleksan...@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
>>
>>



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cib...@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to