davsclaus commented on a change in pull request #5543:
URL: https://github.com/apache/camel/pull/5543#discussion_r630794231



##########
File path: 
core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/CamelInternalProcessor.java
##########
@@ -731,6 +731,7 @@ public UnitOfWork before(Exchange exchange) throws 
Exception {
                     this.routeId = route.getRouteId();
                 }
                 ExtendedExchange ee = (ExtendedExchange) exchange;
+                ee.setFromEndpoint(route.getEndpoint());

Review comment:
       Whats the use case for this? 
   
   The exchange could already have been assigned with an endpoint, so you would 
potentially override this.




-- 
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


Reply via email to