Re: A bigger Camel example

2023-04-28 Thread jacek szymanski
Hi, thanks for the clarification. I'll look into this, but I want to PR the JPA enhancement first anyway. js. On 4/28/23 15:03, Pasquale Congiusti wrote: I think Claus was referring on writing the blog post directly on Camel official blog [1]. It's quite straightforward, you can use any previ

AW: Adding route builder when camel is already started doesn't respect startup order

2023-04-28 Thread Schmeier, Jannik
Hi Claus, thanks for your answer. The need for dictating an order comes from structuring my routes into multiple logical blocks and connecting them via the direct component. The first route is for consuming messages via JMS, the next route is for grouping the messages and the last route is for

Re: Adding route builder when camel is already started doesn't respect startup order

2023-04-28 Thread Claus Ibsen
Hi The startupOrder feature was intended in earlier days when some components had to be started before others. But Camel in general is starting up things better over the years, and this feature is much less in need. So what is it that you have in your routes that you think you need to dictate an

Adding route builder when camel is already started doesn't respect startup order

2023-04-28 Thread Schmeier, Jannik
Hi all, I'm using Apache Camel 3.4.4 in a Spring Boot 2.3.12 application. I know, that these aren't the most recent versions, but I'm currently not able to update to newer ones. I'm trying to add a route builder dynamically after the camel context has already been started like so: cam

Re: A bigger Camel example

2023-04-28 Thread Pasquale Congiusti
I think Claus was referring on writing the blog post directly on Camel official blog [1]. It's quite straightforward, you can use any previous blog post as structure reference, ie [2]. Regards, Pasquale. [1] https://github.com/apache/camel-website [2] https://github.com/apache/camel-website/pull/

Re: A bigger Camel example

2023-04-28 Thread jacek szymanski
Hi, thanks for your answer. I do also think that these JPA options could be useful in general, so I will JIRA&PR them in the coming weeks. Wrt blog post, I don't have a blog, perhaps I could start one, but I'm afraid it'd end up as yet another single post blog; maybe I'll write something li

Re: Karaf, Camel, and Spring

2023-04-28 Thread Ephemeris Lappis
Hello again ! As you say, I'm afraid I have to wait for new SMX bundles/features for Spring 5.3.27. I thought that SMX was a "dying" project : does it survive, at least to provide things for Karaf ? Coming back to our choices : if SMX were what it was some years ago, I think that it could have be

Re: Re: spring-main & addRoutesBuilder : don't work together ?

2023-04-28 Thread Joël Guelluy
It's the same with 3.20.4 Side note : when changing version, compiler screamed because of removing camel-test-junit5:CamelTestSupport.assertMockEndpointsSatisfied() I don't see anything about this in https://camel.apache.org/manual/camel-3x-upgrade-guide-3_20.html -- Message d'origine

Re: Karaf, Camel, and Spring

2023-04-28 Thread Francois Papon
I think that 5.3.x unit tests are backward compatible so will not be broken. On 28/04/2023 12:51, Ephemeris Lappis wrote: Hello again. François, I agree : the range [5,6) should allow Camel to use the 5.x version that is available. But as the current Karaf repository comes with 5.3.23, Camel ro

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 Ephemeris Lappis
Hello again. Indeed, we could try to make our own feature repository to pull Spring 5.3.27, but I'm not very sure this is as easy as it seems : in fact I think that features in the current Karaf repository, with version "5.3.23.1", are all built with "service mix wrapped" bundles. I don't know if

Re: Karaf, Camel, and Spring

2023-04-28 Thread Ephemeris Lappis
Hello again. François, I agree : the range [5,6) should allow Camel to use the 5.x version that is available. But as the current Karaf repository comes with 5.3.23, Camel routes in unit tests and at runtime do not use the same Spring versions. So, can we just ignore it, or do we have to adapt our

Re: A bigger Camel example

2023-04-28 Thread Claus Ibsen
Hi Thank you very much for sharing your big example with the community. I will take a deeper look later when I get more time. At first glance, maybe some of the enhancements you did to JPA component could benefit Camel in general. And if so you are welcome to create a JIRA and work on contributin

A bigger Camel example

2023-04-28 Thread jacek szymanski
Hi, When I was starting to work with camel, I'd really liked to have an example of a functional app. There are many examples in the official repos, but there are usually very simple, single routes, not applications. So I decided now to give it a try and write one myself. As the task I chose

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 Ephemeris Lappis
Hello. If I'm not wrong, most of Spring dependencies in Karaf come with this feature repository : feature:provided mvn:org.apache.karaf.features/spring/4.4.3/xml/features Name │ Version ───┼─ spring │ 5.3.23.1 spring-aspects │