Hi,

Le 10/03/2016 13:17, Debraj Manna a écrit :

I can check a bundle state from Karaf Console by doing:-

|karaf@root>bundle:list | grep camel-test 246 | Active | 50 | 2.16.1 | camel-test |

Is there a way I can do this programatically via some script running on the same machine as Karaf or via some REST End Point that Karaf exposes?

I am using Karaf 3.0.5 running under ServiceMix 6.0.1.


Did you try...

client -u karaf "bundle:list" | grep camel-test

... (assuming "karaf" is the user name)?
And you can do this remotely with SSH.

Regards,

                Vincent.

--
Vincent Zurczak
Linagora: www.linagora.com <http://www.linagora.com/>

Twitter <https://twitter.com/VincentZurczak> Vincent Zurczak @ LinkedIn <http://fr.linkedin.com/pub/vincent-zurczak/18/b35/6a7> My Skype ID <callto://vincent.zurczak> My English blog <http://vzurczak.wordpress.com>

Reply via email to