Hi, Highly likely, one would need to register the bean for reflection, for instance with @RegisterForReflection:
https://camel.apache.org/camel-quarkus/latest/user-guide/cdi.html#_cdi_and_the_camel_bean_component hth, Alex On Mon, May 24, 2021 at 6:30 AM Shultz, Dmitry <[email protected]> wrote: > Hi All, > > > > I have this simple Quarkus app > <https://github.com/zeppelinux/gwifi-dyndns> and it works as expected in > JVM mode, but fails on the error below when compiled to native linux > executable: > > > > 2021-05-24 04:17:31,243 INFO [org.apa.cam.qua.cor.CamelBootstrapRecorder] > (main) bootstrap runtime: org.apache.camel.quarkus.main.CamelMainRuntime > > 2021-05-24 04:17:31,247 INFO [org.apa.cam.com.htt.HttpComponent] (main) > Created ClientConnectionManager > org.apache.http.impl.conn.PoolingHttpClientConnectionManager@5f567620 > > 2021-05-24 04:17:31,253 ERROR [org.apa.cam.qua.mai.CamelMainRuntime] > (main) Failed to start application: > org.apache.camel.FailedToCreateRouteException: Failed to create route > main-gwifi-route at: >>> Bean[com.diligesoft.gwifiddns.Route53Bean] <<< in > route: Route(main-gwifi-route)[From[timer://gwifi-timer?fixedRate=t... > because of Method with name: process not found on bean: > com.diligesoft.gwifiddns.Route53Bean@79366ca of type: > com.diligesoft.gwifiddns.Route53Bean_ClientProxy > > at > org.apache.camel.reifier.RouteReifier.doCreateRoute(RouteReifier.java:240) > > at > org.apache.camel.reifier.RouteReifier.createRoute(RouteReifier.java:74) > > at > org.apache.camel.quarkus.core.FastCamelContext.startRouteDefinitions(FastCamelContext.java:949) > > at > org.apache.camel.quarkus.core.FastCamelContext.startRouteDefinitions(FastCamelContext.java:670) > > at > org.apache.camel.impl.engine.AbstractCamelContext.doInit(AbstractCamelContext.java:2771) > > at > org.apache.camel.quarkus.core.FastCamelContext.doInit(FastCamelContext.java:546) > > at > org.apache.camel.support.service.BaseService.init(BaseService.java:83) > > at > org.apache.camel.impl.engine.AbstractCamelContext.init(AbstractCamelContext.java:2490) > > at > org.apache.camel.support.service.BaseService.start(BaseService.java:111) > > at > org.apache.camel.impl.engine.AbstractCamelContext.start(AbstractCamelContext.java:2507) > > at > org.apache.camel.quarkus.main.CamelMain.doStart(CamelMain.java:94) > > at > org.apache.camel.support.service.BaseService.start(BaseService.java:115) > > at > org.apache.camel.quarkus.main.CamelMain.startEngine(CamelMain.java:139) > > at > org.apache.camel.quarkus.main.CamelMainRuntime.start(CamelMainRuntime.java:49) > > at > org.apache.camel.quarkus.core.CamelBootstrapRecorder.start(CamelBootstrapRecorder.java:45) > > > > You can see I even added the method name to the .bean()… What do I miss? > > > > *Dmitry Shultz* > > *Senior Software Developer* > > > > *[image: cid:[email protected]]* > > > > 1540 Kalamalka Lake Rd. > > Vernon, BC V1T 6V2 > > t: 250.558.3200 (x 547) > > *KalTire.com* > > >
