Skip to content

Commit 9fac8a9

Browse files
committed
Add spring.rabbitmq.listener migration properties
1 parent a2c12f3 commit 9fac8a9

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

src/main/resources/META-INF/rewrite/spring-boot-40-properties.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,15 @@ recipeList:
233233
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
234234
oldPropertyKey: spring.kafka.retry.topic.backoff.random
235235
newPropertyKey: spring.kafka.retry.topic.backoff.jitter
236+
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
237+
oldPropertyKey: spring.rabbitmq.listener.direct.retry.max-attempts
238+
newPropertyKey: spring.rabbitmq.listener.direct.retry.max-retries
239+
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
240+
oldPropertyKey: spring.rabbitmq.listener.simple.retry.max-attempts
241+
newPropertyKey: spring.rabbitmq.listener.simple.retry.max-retries
242+
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
243+
oldPropertyKey: spring.rabbitmq.template.retry.max-attempts
244+
newPropertyKey: spring.rabbitmq.template.retry.max-retries
236245
- org.openrewrite.java.spring.ChangeSpringPropertyKey:
237246
oldPropertyKey: spring.session.redis.cleanup-cron
238247
newPropertyKey: spring.session.data.redis.cleanup-cron
@@ -372,10 +381,10 @@ recipeList:
372381
comment: "This property is deprecated: No longer required. To use Groovy Templates without auto-configuration, depend directly on Groovy Templates instead of spring-boot-groovy-templates."
373382
- org.openrewrite.java.spring.CommentOutSpringPropertyKey:
374383
propertyKey: spring.jackson.generator
375-
comment: "This property is deprecated: Partially replaced by 'spring.jackson.json.read'."
384+
comment: "This property is deprecated: Partially replaced by 'spring.jackson.json.write'."
376385
- org.openrewrite.java.spring.CommentOutSpringPropertyKey:
377386
propertyKey: spring.jackson.parser
378-
comment: "This property is deprecated: Partially replaced by 'spring.jackson.json.write'."
387+
comment: "This property is deprecated: Partially replaced by 'spring.jackson.json.read'."
379388
- org.openrewrite.java.spring.CommentOutSpringPropertyKey:
380389
propertyKey: spring.jackson2.constructor-detector
381390
comment: "This property is deprecated: Deprecated in favor of Jackson 3"

0 commit comments

Comments
 (0)