On Sat, Feb 8, 2014 at 2:49 AM, Freeman Fang <[email protected]> wrote:
> Yep, and also please check powerful hawt.io[1] which use Jolokia underlying.
>
> [1]http://hawt.io/
> -------------
> Freeman(Yue) Fang
>
> Red Hat, Inc.
> FuseSource is now part of Red Hat
>

Yeah I would recommend looking at jolokia which can easily be
installed in ServiceMix. Then from the client point of view, its just
REST calls to the server to manage it.

We use this in hawtio to control Camel routes, visualize routes, et
all. And a lot more.

The Camel plugin source code is here
https://github.com/hawtio/hawtio/tree/master/hawtio-web/src/main/webapp/app/camel

For example some of the operations to start|stop is here
https://github.com/hawtio/hawtio/blob/master/hawtio-web/src/main/webapp/app/camel/js/attributesToolBar.ts

Though the Camel plugin is a bit more advanced as its using a JMX
plugin for some of its work as well. So its not the easiest plugin to
learn.

Anyway just wanted to point out the awesomeness of jolokia. And the
fact you can build modern HTML5 single page apps.
http://jolokia.org/

And btw hawtio is pluggable and skinnable, so users can use it to
build their own plugins and apps.


>
>
> On 2014-2-7, at 下午9:36, Filippo Balicchia wrote:
>
>> Hi,
>>
>> have you already examined if Jolokia can be used in your solution ?
>>
>> --Filippo
>>
>>
>> 2014-02-07 12:00 GMT+01:00 MbeanUser <[email protected]>:
>>
>>> I am going to construct a control layer on top of ServiceMix, that will
>>> interface with a web gui through a REST api. The idea being that I can stop
>>> / start / add routes in Camel through my web page when it is all done.
>>>
>>> My current idea for the overall program flow.
>>>
>>> ServiceMix <-> Control layer through JMX.
>>>
>>> From what I have been able to gather, JMX is the way to go when interfacing
>>> with the ServiceMix instance. I have made a small POC, where I connect to
>>> the MBeanServer and create Proxy MBeans for the functionality I want,
>>> Routes, Components etc.
>>>
>>> Is JMX the right way to go here? Is there any other way to programmatically
>>> interface with ServiceMix. I just want to be sure before I go into
>>> development.
>>>
>>> Thank you in advance.
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://servicemix.396122.n5.nabble.com/Building-an-external-control-layer-is-JMX-the-right-choice-for-interfacing-and-monitoring-ServiceMix-tp5718933.html
>>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>>
>



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: [email protected]
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
Make your Camel applications look hawt, try: http://hawt.io

Reply via email to