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

acosentino pushed a commit to branch camel-3.11.x
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/camel-3.11.x by this push:
     new 028ec15  Invalid XML
028ec15 is described below

commit 028ec15733751298da0d9000218cf1b98e819b3b
Author: iWantToKeepAnon <iwanttokeepa...@yahoo.com>
AuthorDate: Fri Dec 10 11:24:30 2021 -0600

    Invalid XML
    
    setHeader element was incorrectly closed by a transform tag.
    
    (trivial PR).
---
 components/camel-jsonpath/src/main/docs/jsonpath-language.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-jsonpath/src/main/docs/jsonpath-language.adoc 
b/components/camel-jsonpath/src/main/docs/jsonpath-language.adoc
index b22513f..4e3d24e 100644
--- a/components/camel-jsonpath/src/main/docs/jsonpath-language.adoc
+++ b/components/camel-jsonpath/src/main/docs/jsonpath-language.adoc
@@ -324,7 +324,7 @@ The same example in XML DSL would be:
   <from uri="direct:start"/>
   <setHeader name="numberOfBooks">
     <jsonpath headerName="books" 
resultType="int">$..store.book.length()</jsonpath>
-  </transform>
+  </setHeader>
   <to uri="mock:result"/>
 </route>
 ----

Reply via email to