You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RoutesBuilderBuildItem were used to set routes builder to camel-main at build time and then we changed it to put those discovered routes to the camel registry.
It appear that it was a wrong decision as routes from the registry are not subject to Camel's DI which seems be correct as those routes are coming from i.e. a container such as ArC thus they should rely on container's DI.
Of course mixed DI i.e. CDI + CamelDI won't work.
@davsclaus what should be the right way of doing this ? One option could be that we do always apply Camel's DI to any route and let the container do it's own job.
As workaround I've implemented #525 and reported the issue to camel CAMEL-14271
The text was updated successfully, but these errors were encountered:
RoutesBuilderBuildItem were used to set routes builder to camel-main at build time and then we changed it to put those discovered routes to the camel registry.
It appear that it was a wrong decision as routes from the registry are not subject to Camel's DI which seems be correct as those routes are coming from i.e. a container such as ArC thus they should rely on container's DI.
Of course mixed DI i.e. CDI + CamelDI won't work.
@davsclaus what should be the right way of doing this ? One option could be that we do always apply Camel's DI to any route and let the container do it's own job.
As workaround I've implemented #525 and reported the issue to camel CAMEL-14271
The text was updated successfully, but these errors were encountered: