[ https://issues.apache.org/jira/browse/CAMEL-17649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aurélien Pupier updated CAMEL-17649: ------------------------------------ Description: see https://camel.apache.org/components/3.15.x/eips/setHeader-eip.html#_using_set_header {noformat} <route> <from uri="direct:a"/> <setHeader name="myHeader"> <constant>test</constant> </setHeader> <to uri="direct:b"/> </route> {noformat} I think that it should be: {noformat} <route> <from uri="direct:a"/> <setHeader headerName="myHeader"> <constant>test</constant> </setHeader> <to uri="direct:b"/> </route> {noformat} it was renamed with 3.0 https://camel.apache.org/manual/camel-3-migration-guide.html#_setheader_and_setproperty_in_xml_dsl was: see https://camel.apache.org/components/3.15.x/eips/setHeader-eip.html#_using_set_header {noformat} <route> <from uri="direct:a"/> <setHeader name="myHeader"> <constant>test</constant> </setHeader> <to uri="direct:b"/> </route> {noformat} I think that it should be: {noformat} <route> <from uri="direct:a"/> <setHeader headerName="myHeader"> <constant>test</constant> </setHeader> <to uri="direct:b"/> </route> {noformat} it was renamed with 3.0 https://camel.apache.org/manual/camel-3-migration-guide.html#_setheader_and_setproperty_in_xml_dsl > Examples for setHeader in example are outdated: it contains name attribute > instead of headerName > ------------------------------------------------------------------------------------------------ > > Key: CAMEL-17649 > URL: https://issues.apache.org/jira/browse/CAMEL-17649 > Project: Camel > Issue Type: Bug > Components: documentation, eip > Affects Versions: 3.15.0 > Reporter: Aurélien Pupier > Priority: Major > > see > https://camel.apache.org/components/3.15.x/eips/setHeader-eip.html#_using_set_header > {noformat} > <route> > <from uri="direct:a"/> > <setHeader name="myHeader"> > <constant>test</constant> > </setHeader> > <to uri="direct:b"/> > </route> > {noformat} > I think that it should be: > {noformat} > <route> > <from uri="direct:a"/> > <setHeader headerName="myHeader"> > <constant>test</constant> > </setHeader> > <to uri="direct:b"/> > </route> > {noformat} > it was renamed with 3.0 > https://camel.apache.org/manual/camel-3-migration-guide.html#_setheader_and_setproperty_in_xml_dsl -- This message was sent by Atlassian Jira (v8.20.1#820001)