qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fraser Adams <fraser.ad...@blueyonder.co.uk>
Subject Re: Best place to look for documentation on Java Broker Management?
Date Mon, 18 Feb 2013 19:56:52 GMT
Many thanks for this stuff Robbie I'll take a look through it.

I'm sure I'll have more questions when I start to play :-)

Cheers,
Frase


On 18/02/13 19:38, Robbie Gemmell wrote:
> Hi Fraser,
>
> I've been meaning to reply to your questions from the other thread but have
> yet to get it done and am now away this week and dont have the time to make
> the comprehensive reply I'd like to.
>
> You can find the interfaces for the brokers JMX MBeans here:
> http://svn.apache.org/repos/asf/qpid/trunk/qpid/java/management/common/src/main/java/org/apache/qpid/management/common/mbeans/
>
> You can use any common JMX tool like JConsole and VisualVM to manage the
> broker (it defaults to using port 8999 for the JMX managment interface, or
> to be me precise the RMI Registry used to publish the JMX servers actual
> location), and these can give you the JMX 'ObjectName' for the MBeans that
> you could then use to interact with them yourself programatically.
>
> You can interact with the mbeans programatically either using basic
> mbeanserver invocation calls directly using an MBeanServerConnection, or
> you can create proxy objects for the mbeans and interact with them as if
> they were any regular object by calling methods. Google shoud get you good
> examples of both, but you can find a somewhat poor example of the latter by
> digging through this class from our old jmx management console:
> http://svn.apache.org/repos/asf/qpid/branches/0.18/qpid/java/management/eclipse-plugin/src/main/java/org/apache/qpid/management/ui/views/queue/QueueOperationsTabControl.java
>
> Based on the previous thread, Alex wrote up some basic docs of the brokers
> new HTTP management interface, I jsut asked Rob to publish it for me so you
> can now find that here:
> http://qpid.apache.org/books/trunk/AMQP-Messaging-Broker-Java-Book/html/Java-Broker-Configuring-And-Managing-REST-API.html
>
> Robbie
>
>
> On 18 February 2013 18:46, Fraser Adams <fraser.adams@blueyonder.co.uk>wrote:
>
>> Hi All,
>> Could somebody point me at the best place to go to kick start my
>> understanding of the Java Broker Configuration & Management interfaces. I
>> looked at the Java Broker HTML documentation somewhat excited by the
>> chapter 9 heading only to find it's currently a placeholder :-(
>>
>> http://qpid.apache.org/books/**0.20/AMQP-Messaging-Broker-**
>> Java-Book/html/Java-Broker-**Configuring-And-Managing-JMX.**html<http://qpid.apache.org/books/0.20/AMQP-Messaging-Broker-Java-Book/html/Java-Broker-Configuring-And-Managing-JMX.html>
>>
>> I've noticed that there's some example code in
>>
>> java/management/example/src/**main/java/org/apache/qpid/**
>> example/jmxexample
>>
>> which is clearly good to get up and running but I'm keen to understand the
>> full capabilities (in particular similarities/differences with C++ broker
>> QMF) - does it have similar things to queueRef/exchangeRef from binding
>> objects etc. I guess what I'm saying is is the JMX MBean Object Schema
>> documented anywhere (analogous to the C++ broker management-schema.xml I
>> guess)?
>>
>> Also is the Java Broker REST API documented anywhere?
>>
>> MTIA,
>> Frase
>>
>> ------------------------------**------------------------------**---------
>> To unsubscribe, e-mail: users-unsubscribe@qpid.apache.**org<users-unsubscribe@qpid.apache.org>
>> For additional commands, e-mail: users-help@qpid.apache.org
>>
>>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org


Mime
View raw message