You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by bv...@apache.org on 2021/05/11 13:30:58 UTC
[camel] 01/01: set exchange's fromEndpoint property through the
UnitOfWork advice
This is an automated email from the ASF dual-hosted git repository.
bvahdat pushed a commit to branch set-from-endpoint
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 7d6c009fecb9bdc987342500adc583d3e7174927
Author: Babak Vahdat <ba...@zurich.ch>
AuthorDate: Tue May 11 15:30:23 2021 +0200
set exchange's fromEndpoint property through the UnitOfWork advice
---
.../main/java/org/apache/camel/impl/engine/CamelInternalProcessor.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/CamelInternalProcessor.java b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/CamelInternalProcessor.java
index 8cf3552..fc13589 100644
--- a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/CamelInternalProcessor.java
+++ b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/CamelInternalProcessor.java
@@ -731,6 +731,7 @@ public class CamelInternalProcessor extends DelegateAsyncProcessor implements In
this.routeId = route.getRouteId();
}
ExtendedExchange ee = (ExtendedExchange) exchange;
+ ee.setFromEndpoint(route.getEndpoint());
ee.setFromRouteId(routeId);
}