[ https://issues.apache.org/jira/browse/CAMEL-17649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-17649. --------------------------------- Resolution: Cannot Reproduce > 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: Task > Components: documentation, eip > Affects Versions: 3.15.0 > Reporter: Aurélien Pupier > Priority: Minor > > 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)