Hi Alan,

directly using the Karaf console looks "difficult" (I'm not a C# expert).

I think an "easy" way is to use the JMX layer. From C#, you can connect to the Karaf JMX layer and interact with Karaf (Karaf provides a large set of MBeans where you can do the same as in the shell console).

Other projects (like Jolokia, JMX WS Connector, IKVM, etc) can also expose these MBeans via HTTP/JSON/XML, etc.

Regards
JB

On 11/01/2012 08:20 PM, AlanFoster wrote:
Hi all,

Is there a way for C# to interact with the Karaf console and send in
specific commands like starting/stopping bundles, and then being able to see
exactly when the bundle has successfully been installed/uninstalled

The exact use case is :: We are running a set of C# unit tests which need
needs to install/uninstall bundles and change configuration cfg files to see
that the behaviour is as expected

Is this something that is possible?

Alan



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Interact-with-Karaf-using-C-tp4026654.html
Sent from the Karaf - User mailing list archive at Nabble.com.


--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to