This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit a2d2b181be68e67f7a91f76b7598a407d1b0a9b1
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Fri Jun 28 14:36:49 2019 +0200

    CAMEL-13657: Use name instead of headerName, propertyName in XML DSL to 
make it simpler and more natural.
---
 MIGRATION.md | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/MIGRATION.md b/MIGRATION.md
index 66250d0..2e075da 100644
--- a/MIGRATION.md
+++ b/MIGRATION.md
@@ -107,6 +107,21 @@ We have also renamed `camel-jetty9` to `camel-jetty`.
 
 The properties component will now use OS environment variables as perferred 
value. This means you can set an OS environment variable which will override 
any property values that has been set in property files, JVM system properties 
etc. You can configure this with the `environmentVariableMode` option on the 
properties component.
 
+### <setHeader> and <setProperty> in XML DSL
+
+We have renamed the attribute `headerName` and `propertyName` in the XML DSL 
for the `<setHeader>` and `<setProperty`> EIPs, to be just `name`.
+
+So migrate 
+
+    <setHeader headerName="foo"><simple>Hello ${body}</simple></setHeader>
+
+To
+
+    <setHeader name="foo"><simple>Hello ${body}</simple></setHeader>
+
+And the same for `<setProperty>`.
+
+
 ### javax.script
 
 The `camel-script` component has been removed and there is no support for 
javax.script, which is also deprecated in the JDK and to be removed from Java 
11 onwards.

Reply via email to