Re: Established Java DSL route into Camel Spring OSGi container - for use with Kataf container

2018-09-05 Thread Francois Papon
Hi, As Quinn say, you can use Blueprint in Karaf. If you are new on Karaf, you can start by looking at the examples in the distribution : https://karaf.apache.org/documentation.html regards, François Papon fpa...@apache.org Le 05/09/2018 à 17:17, John F. Berry a écrit : > Thanks Quinn, > I h

***UNCHECKED*** Re: OSGI component not in Camel registry

2018-09-19 Thread Francois Papon
Hi, The annotations @Component is for Declarative Service. As Claus say, Camel support OSGi Blueprint so you have to declare your component and your Camel context in a blueprint.xml Regards, François Papon fpa...@apache.org Le 19/09/2018 à 14:42, Claus Ibsen a écrit : > Hi > > How are you runn

Re: Camel 2.22.2 with bundle camel-elasticsearch-rest error

2019-01-24 Thread Francois Papon
Hi, You can try to temporary fix it by using dynamic import: https://karaf.apache.org/manual/latest/#_dynamic_import Regards, François Papon fpa...@apache.org Le 24/01/2019 à 13:31, Michele Andreoli a écrit : > I'm trying to use the camel bundle camel-elasticsearch-rest in a karaf > 4.2.2 envi

Re: [DISCUSS] - Apache Camel 3 - A new tagline

2019-02-20 Thread Francois Papon
Hi, I'm agree with Guillaume about not focuses too much on cloud, Camel can be use in many other cases. We can also have: "Integrate the world" or "Integrate your business" It's just ideas and may be too "enterprise"... regards, François Papon fpa...@apache.org Le 20/02/2019 à 11:38, Guillau

[java-dsl] - RouteBuilder

2019-05-19 Thread Francois Papon
Hi, I'm trying to use a RouteDefintion to configure a RouteBuilder and it doesn't work. It works by setting the route in the first test but the endpoint is not publish in the second test... Any ideas? @Test     public void publishHttpCamelContextTest() throws Exception {     CamelContext c

Re: [java-dsl] - RouteBuilder

2019-05-19 Thread Francois Papon
Hi Claus, It works very well now :) Thanks for your help! regards, François fpa...@apache.org Le 20/05/2019 à 08:10, Claus Ibsen a écrit : > Hi > > You should add the definition via camel context api and not try to add > it via the route builder. > > > On Mon, May 20, 201

Re: [java-dsl] - RouteBuilder

2019-05-19 Thread Francois Papon
.println("camel routes with definition jetty added -> http://localhost:9090/labs";);     Thread.sleep(1L);     } regards, François fpa...@apache.org Le 20/05/2019 à 08:47, Francois Papon a écrit : > Hi Claus, > > It works very well now :) > > Thanks for your help!

Re: Deploy custom Camel code on Apache Karaf

2019-10-04 Thread Francois Papon
Hi, You have some examples here: https://github.com/apache/karaf/tree/master/examples/karaf-camel-example regards, François fpa...@apache.org Le 04/10/2019 à 14:22, Kirti Arora a écrit : > Hi, > > I'm trying to deploy my camel code(Java) on Apache Karaf. I had put my > camel code bundle to dep

Re: Stack trace after upgrading to Camel 3.0

2020-01-10 Thread Francois Papon
Hi, Can you try with the 3.1.0-SNAPSHOT and the -U maven option? regards, François fpa...@apache.org Le 10/01/2020 à 16:02, Tom Coudyzer a écrit : > Hi, > > Still no luck. Changed it to camel-core-engine and cleared the Maven cache > after that. > > This is the code I'm testing (route + JUnit t

Re: Stack trace after upgrading to Camel 3.0

2020-01-10 Thread Francois Papon
> >>> Sorry but, what is the plugin repository for getting access to the >> SNAPSHOT >>> via Maven, guess it's not available from mvnrepository.com? >>> >>> Thank you. Regards /Tom >>> >>> On Fri, Jan 10, 2020 at 4:08 PM Francois Pa

Re: How Camel consumes files using multithreading

2021-10-25 Thread Francois Papon
Hi, Did you try to add .threads() to your from("sftp") route? regards, Francois On 25/10/2021 08:07, robbenp...@foxmail.com wrote: Dear all, I am using Apache Camel to handle files from SFTP. Becausethere are too many file in the same directoty, I want to use multithreading to handle t

Karaf/Camel camel-elasticsearch-rest component and Log4jShell

2022-01-03 Thread Francois Papon
Hi, The Camel elasticsearch-rest-component depend on the version 7.10.2 of elasticsearch-client that has a dependency on log4j-core:2.13.3 and log4j-api:2.13.3 When installating the Karaf feature the log4j bundles are installed: https://github.com/apache/camel-karaf/blob/e976acc7c1d6405b283f

Camel load resource from classloader broken

2022-01-03 Thread Francois Papon
Hi, It seems like this commit broke the OSGi compatibility by loading resources from another classloader: https://github.com/apache/camel/commit/11bd8012743868712904b449024344bcf8130d2b#diff-8514339d35970f5c1e68df154846a293656b9a482d332b7f4423755ba0d2b0f9 For example, when upgrading to Camel

Re: Camel load resource from classloader broken

2022-01-03 Thread Francois Papon
that (I consider this regression as blocker/critical). Can you create a Jira about that, I will fix that ? Thanks, Regards JB On 03/01/2022 17:35, Francois Papon wrote: Hi, It seems like this commit broke the OSGi compatibility by loading resources from another classloader: https://githu

Re: Karaf, Camel, and Spring

2023-04-28 Thread Francois Papon
Hi, The Camel features are using a range for the Spring version:     dependency='true'>mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/1.1.1     spring     spring-tx     camel-core mvn:org.apache.camel/camel-core-xml/3.20.4 mvn:org.apache.camel/camel-spring/3.20.4 mvn:org.apache.camel/came

Re: Karaf, Camel, and Spring

2023-04-28 Thread Francois Papon
Yes you can create your own feature.xml but it will depend on the lastest SMX bundle: https://repo1.maven.org/maven2/org/apache/servicemix/bundles/org.apache.servicemix.bundles.spring-core/ For now it's 5.3.26_1 so if you want to use the 5.3.27 you need to wait for the SMX release. Regards,

Re: Karaf, Camel, and Spring

2023-04-28 Thread Francois Papon
:12, Francois Papon a écrit : Hi, The Camel features are using a range for the Spring version: mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/1.1.1 spring spring-tx camel-core mvn:org.apache.camel/camel-core-xml/3.20.4 mvn:org.apache.camel/camel-spring/3.20.4