Rename header in Simple expressions
Apache 2.0Renames header references in Simple expressions like ${header.oldName} → ${header.newName}, in every string literal carrying a Simple expression: simple(), log(), endpoint URIs and the like. Only the complete ${header.oldName} placeholder is matched, so plain occurrences of the name are left alone.
org. apache. camel. upgrade. camel418_3. RenameHeaderInSimpleExpressionRequired
The old header name in Simple expression
The new header name to use
mod run . --recipe= org. apache. camel. upgrade. camel418_3. RenameHeaderInSimpleExpression \
-P oldHeaderName= kafka. TOPIC \
-P newHeaderName= CamelKafkaTopicInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.