Re: Consume annotation not working when used with Spring XML

2021-12-20 Thread Claus Ibsen
Hi It depends how this bean is created - as it needs to be created either by camel or spring to kick in the bean post processor that scans for those annotations. If the bean is created via new XXX or some other way then this does not happen. And when you say component class not sure what that is,

Re: CLI vs API: modeline strange behaviors

2021-12-20 Thread Pasquale Congiusti
Yeah, the dependencies are converted in the plain related camel catalog ones. Then, the runtime will take care to transform them into the ones of the related runtime, Camel Quarkus in this case. If you have a look at the deployed application, you can see that the pom has the camel-quarkus related d

Re: Kafka component, consuming, threads count

2021-12-20 Thread Otavio Rodolfo Piske
For versions >= 3.12, yes. If not, I'd say it's a bug - and I'd be happy to look into that if that's the case. For versions <= 3.11, there's 2 settings that may interfere: stream count and consumers count*. * I'd kindly ask you to take a look at the 3.11 document and the migration guides for newe

Running integration via k8s API

2021-12-20 Thread Roberto Camelk
I'm launching camel-k integrations via kubernetes API. I just create an "Integration" resource definition in JSON and submit it. Recently I was trying to create integrations with dependencies like "camel:cron" and "camel:microprofile-metrics" but WITHOUT defining them in the "dependencies" field.

Re: Consume annotation not working when used with Spring XML

2021-12-20 Thread Steve973
Hi, Claus. Thanks for the reply, and apologies for any ambiguity in my previous email. This is the dynamic router component that I am writing. I got this test working by extending CamelTestSupport in my @CamelSpringTest class. I am not sure which particular magic of the CamelTestSupport class m