aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main/resources/clds/camel/routes/policy-flows.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/resources/clds/camel/routes/policy-flows.xml b/src/main/resources/clds/camel/routes/policy-flows.xml
index a61bc67fb..ef68a5483 100644
--- a/src/main/resources/clds/camel/routes/policy-flows.xml
+++ b/src/main/resources/clds/camel/routes/policy-flows.xml
@@ -260,7 +260,7 @@
</setHeader>
<choice>
<when>
- <simple>${body.isLegacy()} == true</simple>
+ <simple>${exchangeProperty[policy].isLegacy()} == true</simple>
<setProperty propertyName="policyVersion">
<simple>1</simple>
</setProperty>