Use TLS for AMQP connection strings
MSALUse TLS for AMQP connection strings.
org. openrewrite. java. spring. amqp. UseTlsAmqpConnectionStringRequired
The non-TLS enabled port number to replace with the TLS-enabled port. If this value is specified, no changes will be made to amqp connection strings which do not contain this port number.
The TLS-enabled port to use.
Optional
The Spring property key to perform updates against. If this value is specified, the specified property will be used for searching, otherwise a default of spring.rabbitmq.addresses will be used instead.
The Spring property key to enable default TLS mode against. If this value is specified, the specified property will be used when updating the default TLS mode, otherwise a default of spring.rabbitmq.ssl.enabled will be used instead.
Each value in this list represents a glob expression that is used to match which files will be modified. If this value is not present, this recipe will query the execution context for reasonable defaults. ("**/application.yml", "**/application.yaml", and "**/application.properties". Separate values with commas.
mod run . --recipe= org. openrewrite. java. spring. amqp. UseTlsAmqpConnectionString \
-P oldPort=1234 \
-P port=1234Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.