You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2019/12/07 21:48:00 UTC
[jira] [Work logged] (CAMEL-14271) camel di does not work for
routes discovered from the registry
[ https://issues.apache.org/jira/browse/CAMEL-14271?focusedWorklogId=355699&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-355699 ]
ASF GitHub Bot logged work on CAMEL-14271:
------------------------------------------
Author: ASF GitHub Bot
Created on: 07/Dec/19 21:47
Start Date: 07/Dec/19 21:47
Worklog Time Spent: 10m
Work Description: oscerd commented on pull request #525: Add a workaround for Camel's DI (see CAMEL-14271)
URL: https://github.com/apache/camel-quarkus/pull/525
----------------------------------------------------------------
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:
users@infra.apache.org
Issue Time Tracking
-------------------
Worklog Id: (was: 355699)
Remaining Estimate: 0h
Time Spent: 10m
> camel di does not work for routes discovered from the registry
> --------------------------------------------------------------
>
> Key: CAMEL-14271
> URL: https://issues.apache.org/jira/browse/CAMEL-14271
> Project: Camel
> Issue Type: Bug
> Affects Versions: 3.0.0
> Reporter: Luca Burgazzoli
> Assignee: Luca Burgazzoli
> Priority: Major
> Fix For: 3.0.1, 3.1.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> the method BaseMainSupport::loadRouteBuilders is in charge of performing Camel's DI but in BaseMainSupport::postProcessCamelContext is invoked before additional routes are discovered:
> {code}
> // try to load the route builders
> loadRouteBuilders(camelContext);
> // then configure and add the routes
> RoutesConfigurer configurer = new RoutesConfigurer(routesCollector, routeBuilders);
> configurer.configureRoutes(camelContext, mainConfigurationProperties);
> {code}
> Injection should happen after all the routes have been discovered
--
This message was sent by Atlassian Jira
(v8.3.4#803005)