[ANN] Apache Karaf Cellar 4.1.2 & 4.0.5 have been released

2018-10-16 Thread Jean-Baptiste Onofré
The Karaf team is pleased to announce two new maintenance releases of Apache Karaf Cellar. Both releases bring fixes on cluster groups management, Hazelcast upgrade and minor improvements (like node alias support in all cluster shell commands). Karaf Cellar 4.0.5 is a maintenance release for the

Re: Running Camel in a Karaf OSGi container

2018-10-16 Thread John F. Berry
This is just the maven 3.5.3 default generated archetype choosing archetype choice 1187 with version 2.22.1 On Tuesday, October 16, 2018, 4:28:43 PM EDT, Jean-Baptiste Onofré wrote: Hi Can you share your pom and blueprint xml ? You can find example on my GitHub about camel with bluep

Re: Running Camel in a Karaf OSGi container

2018-10-16 Thread John F. Berry
Thanks Kerry, So if I read your project right.. you have 4 apps/utility you made in this one "project"?If so, this looks like a good fit for what I want to do.  I do have call for a few more routing tasks that don't have relation to each other, but assembled nicely like your example and I'd l

Re: Running Camel in a Karaf OSGi container

2018-10-16 Thread Jean-Baptiste Onofré
Hi Can you share your pom and blueprint xml ? You can find example on my GitHub about camel with blueprint. Regards JB Le 16 oct. 2018 à 21:45, à 21:45, "John F. Berry" a écrit: >Thanks Francois for the info.  Now I will show my shallow knowledge of >Karaf (or this Apache family for that matte

Re: Running Camel in a Karaf OSGi container

2018-10-16 Thread Kerry
Hi John, You might like to cast your eye over a camel example I made for myself a little while ago: https://github.com/jtkb/cameltest It might help give you a few pointers in the right direction. I haven't used if for a while so it might not work 'out-of-the-box' but the code might help you.

Re: Running Camel in a Karaf OSGi container

2018-10-16 Thread Francois Papon
Hi, Generaly you have to package your bundle with a pom.xml like this : bundle                         org.apache.camel             camel-core             2.22.1                                                     org.apache.felix                 maven-bundle-plugin                 3.5.1

Re: Running Camel in a Karaf OSGi container

2018-10-16 Thread John F. Berry
Thanks Francois for the info.  Now I will show my shallow knowledge of Karaf (or this Apache family for that matter).. What is the "bundle" that you drop in the deploy folder.. is it the entire project with all its directories?  I haven't successfully made this a blueprint camel project yet.. I

Re: Running Camel in a Karaf OSGi container

2018-10-16 Thread John F. Berry
I'd love to share my code.. just make sure to have your Alka-Seltzer ready :P This is my original route using Java DSL to solve a small route issue. (I did anonymize a few things in the code before sending it out to public view) I've tried to "fortify" it with dependencies and configurations to

Re: Running Camel in a Karaf OSGi container

2018-10-16 Thread Francois Papon
Hi John, Have you install the camel feature in Karaf ? In a Karaf shell : karaf@root()> feature:repo-add camel karaf@root()> feature:install camel If your are using blueprint with Karaf 4.2.x : karaf@root()> feature:install aries-blueprint Then just drop your bundle into the "deploy" folder.

Re: Running Camel in a Karaf OSGi container

2018-10-16 Thread Kerry
Hi John, Are you able to share any of your code or an example project? also are you familiar already with OSGi or is it only Karaf that you are new to? thanks Kerry On 16/10/18 19:54, John F. Berry wrote: > New user to Karaf due to the fact that my development work in Apache Camel is > wante

Running Camel in a Karaf OSGi container

2018-10-16 Thread John F. Berry
New user to Karaf due to the fact that my development work in Apache Camel is wanted by people to be installed on a Windows server and to be installed as a service.  This led me to the Karaf product.I've asked the Camel users forum about migration steps, but now I think this is more of a Karaf