Re: Trying to create REST integration

2022-03-17 Thread Roberto Camelk
I found the problem. I was running my integration forcing the name with "--name camel-rest", so the source file/class name refactor wasn't solving the issue. Now I renamed both (class and name arg) and it's working. On Thu, Mar 17, 2022 at 12:55 PM Roberto Camelk wrote: > > I have tried to renam

Re: Trying to create REST integration

2022-03-17 Thread Roberto Camelk
I have tried to rename it to CamelRestExample But the error continues: 2022-03-17 15:53:26,166 INFO [org.apa.cam.k.Runtime] (main) Apache Camel K Runtime 1.12.0 2022-03-17 15:53:26,215 INFO [org.apa.cam.qua.cor.CamelBootstrapRecorder] (main) Bootstrap runtime: org.apache.camel.quarkus.main.Came

Re: Trying to create REST integration

2022-03-17 Thread Pasquale Congiusti
Hello, try calling your class differently than *CamelRest* (ie, CamelRest2) . I think it makes some mess because it conflicts with the component name. Cheers, Pasquale. On Thu, Mar 17, 2022 at 1:58 PM Roberto Camelk wrote: > I'm trying to run the REST example from here: > https://camel.apache.o

Trying to create REST integration

2022-03-17 Thread Roberto Camelk
I'm trying to run the REST example from here: https://camel.apache.org/manual/rest-dsl.html#_rest_dsl_with_java_dsl This is my final source: //camel-k: dependency=camel-rest import org.apache.camel.builder.RouteBuilder; public class CamelRest extends RouteBuilder { @Override public voi

Re: kamel install --global vs kamel get -n

2022-03-17 Thread Roberto Camelk
What is the purpose of the PlatformIntegration? Why do I eventually need to install it? On Thu, Mar 17, 2022 at 5:37 AM Pasquale Congiusti wrote: > > I think it's a "normal" warning. > > Consider that the global option will watch for those namespaces where you > eventually install an IntegrationP

Re: kamel install --global vs kamel get -n

2022-03-17 Thread Pasquale Congiusti
I think it's a "normal" warning. Consider that the global option will watch for those namespaces where you eventually install an IntegrationPlatform, see: --global Configure the operator to watch all namespaces. No integration platform is created. You can run in