Re: [Karaf 4.1.2] - error with camel-elasticsearch5

2017-10-18 Thread Jean-Baptiste Onofré
Hi, I just checked and I already fixed this issue (an export was missing in the ServiceMix Elasticsearch bundle). Now the elasticsearch bundle ships transport, client, sniff packages, no need to add a wrapped jar. I'm preparing a SMX Bundles release and I will update in Camel. Regards JB

remote ssh shell exits prematurely

2017-10-18 Thread Matthew Shaw
Hi All, Running 4.1.2 and when using the shell to connect to a remote instance and issuing certain commands like kar:install/uninstall. It appears to run the task, but then immediately exits the console and terminates the connection? Cheers, Matt. This email, including any attachments sent

Re: How to put an external file on the classpath so code in karaf bundle can read it?

2017-10-18 Thread Guillaume Nodet
THere's no difference between getResource() and getResourceAsStream() in the way the resource is obtained. At the end, a call to getResourceAsStream(name) is the same as getResource(name).openStream(). What you need is a way to put your resource in the bundle classloader which can be done using a