Manage health checks at runtime

2022-03-28 Thread Benjamin Graf
Hi, does anybody know a way to enable/disable route/consumer checks for specific items at runtime. As I can see it's only possible to enable/disable the complete repository itself and the HealthCheck once computed seems not reconfigurable any more. Maybe worth for an enhancement? Regards B

Re: CamelSqlGeneratedKeyRows is not updated

2022-03-28 Thread Jeremy Ross
This is a regression. I filed an issue https://issues.apache.org/jira/projects/CAMEL/issues/CAMEL-17866. On Fri, Mar 25, 2022 at 1:20 PM Karen Lease wrote: > Hi, > > There was a similar issue a while back (CAMEL-16761). In that case, the > issue occurred in a loop but I think the root cause is t

[ANNOUNCE] Apache Camel 3.16.0 Released

2022-03-28 Thread Gregor Zurowski
The Camel PMC is pleased to announce the release of Apache Camel 3.16.0. Apache Camel is an open source integration framework that empowers you to quickly and easily integrate various systems consuming or producing data. This release is a new minor release and contains 206 bug fixes and improveme

Re: camel-component-maven-plugin not hooked to the correct maven phase

2022-03-28 Thread Claus Ibsen
It is a plugin to assist when building custom camel components, not to use for end user applications. It is currently two-step as I said. Its not an easy fix. In the camel project we have a re-compile step maven-compiler-plugin

Camel Kafka connector can't consume from cluster if one broker is down

2022-03-28 Thread Laurentiu Trica
Hi, I'm using Camel 2.54 in Karaf 4.3.6 and producing/consuming messages to/from a Kafka cluster with 3 brokers. I've tested shutting down a broker to see if the producing/consuming continues and found out that it's not the case. Camel *can still send messages to Kafka* (after setting the retries

Re: camel-component-maven-plugin not hooked to the correct maven phase

2022-03-28 Thread Minh Tran
Are you suggesting we should really be executing the build like this? mvn clean process-classes test It works I guess but highly unconventional compared to other maven code generation plugins. It could also potentially be a big overhead as you're running the all the phases prior to process-classe

Re: camel-component-maven-plugin not hooked to the correct maven phase

2022-03-28 Thread Claus Ibsen
Yes it is. You need to run the camel plugin in its own maven execution first so the source is generated prior to running maven again to test or compile or whatever. You cannot run this in a single maven command from clean. On Mon, Mar 28, 2022 at 12:18 PM Minh Tran wrote: > > Hi > > This is not

Re: camel-component-maven-plugin not hooked to the correct maven phase

2022-03-28 Thread Minh Tran
Hi This is not a chicken and egg problem. I've recreated a basic project illustrating the problem git clone https://bitbucket.org/minh_tran__/camel_plugin_bug.git mvn clean test. -> will always fail. I've ensured clean will always remove the autogenerated classes mvn test -> second attempt witho

Re: camel-component-maven-plugin not hooked to the correct maven phase

2022-03-28 Thread Claus Ibsen
Hi Its a chicken and egg situation. Therefore its best to use the plugin to generate the source code ahead of time, eg in src/generated or directly into the source folder - as shown in the doc page. On Mon, Mar 28, 2022 at 10:24 AM Minh Tran wrote: > > On Mon, 28 Mar 2022 at 18:14, Claus Ibsen

Re: camel-component-maven-plugin not hooked to the correct maven phase

2022-03-28 Thread Minh Tran
On Mon, 28 Mar 2022 at 18:14, Claus Ibsen wrote: > Hi > > The docs tells you where it outputs and how you can add plugins to > include the src/generated folder > https://camel.apache.org/manual/camel-component-maven-plugin.html#_generate Yes you can change the defaults but the problem is that t

Re: camel-component-maven-plugin not hooked to the correct maven phase

2022-03-28 Thread Claus Ibsen
Hi The docs tells you where it outputs and how you can add plugins to include the src/generated folder https://camel.apache.org/manual/camel-component-maven-plugin.html#_generate You can also set which phase to execute the plugin On Sat, Mar 26, 2022 at 1:18 PM Minh Tran wrote: > > Hi > > Accor