davsclaus commented on PR #8782:
URL: https://github.com/apache/camel/pull/8782#issuecomment-1328245157

   The problem is that `RouteBuilder` now with templatedRoute can trigger too 
early. So we need to move this out of its normal route add logic, and make 
templated routes last.
   
   It would be good to add unit test for this in core.
   
   If you look at how `ConfigureRouteTemplates` was in use previously then its 
invoked last after all the regular route add stuff, so this PR does like what 
it does.
   
   
https://github.com/apache/camel/blob/0fbb0d62f8eb68aeca0cfda898f0b82804402d78/core/camel-main/src/main/java/org/apache/camel/main/RoutesConfigurer.java#L212


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to