Rename header in YAML DSL

Apache 2.0

Renames header references in YAML DSL setHeader.name, header.name, and removeHeader.name entries, and the ${header.oldName} placeholder wherever it appears in a scalar value.

org.apache.camel.upgrade.camel418_3.RenameHeaderInYamlDsl

Required

The old header name

The new header name

mod run . --recipe=org.apache.camel.upgrade.camel418_3.RenameHeaderInYamlDsl \ -P oldHeaderName=kafka.TOPIC \ -P newHeaderName=CamelKafkaTopic

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.