sidharthramesh commented on issue #1579:
URL: https://github.com/apache/camel-k/issues/1579#issuecomment-1229531924

   Hey @lburgazzoli, thank you for your example. I'm trying out the same code 
and commands with my camel-k installation, and I get this error:
   
   ```
   org.apache.camel.NoSuchBeanException: No bean could be found in the registry 
for: toUpper of type: org.apache.camel.Processor
   [2]     at 
org.apache.camel.reifier.AbstractReifier.mandatoryLookup(AbstractReifier.java:145)
   [2]     at 
org.apache.camel.reifier.ProcessReifier.createProcessor(ProcessReifier.java:41)
   [2]     at 
org.apache.camel.reifier.ProcessorReifier.makeProcessor(ProcessorReifier.java:844)
   [2]     at 
org.apache.camel.reifier.ProcessorReifier.addRoutes(ProcessorReifier.java:585)
   [2]     at 
org.apache.camel.reifier.RouteReifier.doCreateRoute(RouteReifier.java:236)
   [2]     at 
org.apache.camel.reifier.RouteReifier.createRoute(RouteReifier.java:74)
   [2]     at 
org.apache.camel.impl.DefaultModelReifierFactory.createRoute(DefaultModelReifierFactory.java:49)
   [2]     at 
org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:887)
   [2]     at 
org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:775)
   [2]     at 
org.apache.camel.impl.engine.AbstractCamelContext.doInit(AbstractCamelContext.java:2937)
   [2]     at 
org.apache.camel.quarkus.core.FastCamelContext.doInit(FastCamelContext.java:172)
   [2]     at 
org.apache.camel.support.service.BaseService.init(BaseService.java:83)
   [2]     at 
org.apache.camel.impl.engine.AbstractCamelContext.init(AbstractCamelContext.java:2620)
   [2]     at 
org.apache.camel.support.service.BaseService.start(BaseService.java:111)
   [2]     at 
org.apache.camel.impl.engine.AbstractCamelContext.start(AbstractCamelContext.java:2639)
   [2]     at 
org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:255)
   [2]     at org.apache.camel.quarkus.main.CamelMain.doStart(CamelMain.java:94)
   [2]     at 
org.apache.camel.support.service.BaseService.start(BaseService.java:119)
   [2]     at 
org.apache.camel.quarkus.main.CamelMain.startEngine(CamelMain.java:140)
   [2]     at 
org.apache.camel.quarkus.main.CamelMainRuntime.start(CamelMainRuntime.java:49)
   [2]     at 
org.apache.camel.quarkus.core.CamelBootstrapRecorder.start(CamelBootstrapRecorder.java:45)
   [2]     at 
io.quarkus.deployment.steps.CamelBootstrapProcessor$boot173480958.deploy_0(Unknown
 Source)
   [2]     at 
io.quarkus.deployment.steps.CamelBootstrapProcessor$boot173480958.deploy(Unknown
 Source)
   [2]     at io.quarkus.runner.ApplicationImpl.doStart(Unknown Source)
   [2]     at io.quarkus.runtime.Application.start(Application.java:101)
   [2]     at 
io.quarkus.runtime.ApplicationLifecycleManager.run(ApplicationLifecycleManager.java:103)
   [2]     at io.quarkus.runtime.Quarkus.run(Quarkus.java:67)
   [2]     at io.quarkus.runtime.Quarkus.run(Quarkus.java:41)
   [2]     at io.quarkus.runtime.Quarkus.run(Quarkus.java:120)
   [2]     at io.quarkus.runner.GeneratedMain.main(Unknown Source)
   [2]     at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   [2]     at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   [2]     at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   [2]     at java.base/java.lang.reflect.Method.invoke(Method.java:566)
   [2]     at 
io.quarkus.bootstrap.runner.QuarkusEntryPoint.doRun(QuarkusEntryPoint.java:60)
   [2]     at 
io.quarkus.bootstrap.runner.QuarkusEntryPoint.main(QuarkusEntryPoint.java:31)
   ```
   
   Just have the 2 files as it is and running the same command:
   ```
   kamel run --dev --name example integration.yaml MyConfigurer.java
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to