astefanutti opened a new issue #362: URL: https://github.com/apache/camel-k-runtime/issues/362
In this example https://github.com/astefanutti/camel-k-example-metrics, I've declared a CDI bean in an external beans archive, that I use in a Camel K route. However, this leads to the following exception when the integration starts: ``` 2020-06-15 16:00:35,124 ERROR [io.qua.application] (main) Failed to start application: java.lang.RuntimeException: org.apache.camel.FailedToCreateRouteException: Failed to create route unreliable-service at: >>> process[Processor@0x0] <<< in route: Route(unreliable-service)[From[timer:stream?period=1000] -> ... because of ref must be specified on: process[Processor@0x0] at org.apache.camel.quarkus.core.CamelMainRecorder.start(CamelMainRecorder.java:99) at io.quarkus.deployment.steps.Main$start317617795.deploy_0(Main$start317617795.zig:115) at io.quarkus.deployment.steps.Main$start317617795.deploy(Main$start317617795.zig:36) at io.quarkus.runner.ApplicationImpl.doStart(ApplicationImpl.zig:522) at io.quarkus.runtime.Application.start(Application.java:90) at io.quarkus.runtime.ApplicationLifecycleManager.run(ApplicationLifecycleManager.java:90) at io.quarkus.runtime.Quarkus.run(Quarkus.java:61) at io.quarkus.runtime.Quarkus.run(Quarkus.java:38) at io.quarkus.runtime.Quarkus.run(Quarkus.java:106) at io.quarkus.runner.GeneratedMain.main(GeneratedMain.zig:29) Caused by: org.apache.camel.FailedToCreateRouteException: Failed to create route unreliable-service at: >>> process[Processor@0x0] <<< in route: Route(unreliable-service)[From[timer:stream?period=1000] -> ... because of ref must be specified on: process[Processor@0x0] at org.apache.camel.reifier.RouteReifier.doCreateRoute(RouteReifier.java:393) at org.apache.camel.reifier.RouteReifier.createRoute(RouteReifier.java:117) at org.apache.camel.quarkus.core.FastCamelContext.startRouteDefinitions(FastCamelContext.java:694) at org.apache.camel.quarkus.core.FastCamelContext.startRouteDefinitions(FastCamelContext.java:486) at org.apache.camel.impl.engine.AbstractCamelContext.doInit(AbstractCamelContext.java:2617) at org.apache.camel.quarkus.core.FastCamelContext.doInit(FastCamelContext.java:372) at org.apache.camel.support.service.BaseService.init(BaseService.java:83) at org.apache.camel.impl.engine.AbstractCamelContext.init(AbstractCamelContext.java:2450) at org.apache.camel.quarkus.core.CamelMain.doInit(CamelMain.java:47) at org.apache.camel.support.service.BaseService.init(BaseService.java:83) at org.apache.camel.support.service.BaseService.start(BaseService.java:111) at org.apache.camel.quarkus.core.CamelMainRecorder.start(CamelMainRecorder.java:97) ... 9 more Caused by: java.lang.IllegalArgumentException: ref must be specified on: process[Processor@0x0] at org.apache.camel.util.ObjectHelper.notNull(ObjectHelper.java:171) at org.apache.camel.reifier.ProcessReifier.createProcessor(ProcessReifier.java:39) at org.apache.camel.reifier.ProcessorReifier.makeProcessor(ProcessorReifier.java:766) at org.apache.camel.reifier.ProcessorReifier.addRoutes(ProcessorReifier.java:511) at org.apache.camel.reifier.RouteReifier.doCreateRoute(RouteReifier.java:391) ... 20 more ``` ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org