Renames property of the component

Apache 2.0

Renames a property of the component in the YAML DSL, both in the parameters mapping and when the property is inlined in the endpoint uri.

org.apache.camel.upgrade.customRecipes.ReplacePropertyInComponentYaml

Required

Component name.

The property key to rename.

The property key to be replaced with.

Optional

This value is appended before the current value of the modified method.

mod run . --recipe=org.apache.camel.upgrade.customRecipes.ReplacePropertyInComponentYaml \ -P component=netty \ -P oldPropertyKey=keyStoreFile \ -P newPropertyKey=keyStoreResource

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