Migrate Spring Boot AMQP support to RabbitMQ

Proprietary

Migrate the Spring Boot RabbitMQ modules and types renamed in Spring Boot 4.2. The previous spring-boot-amqp modules now provide generic AMQP 1.0 support. Only dependencies below 4.2 are renamed, leaving new AMQP 1.0 applications untouched.

io.moderne.java.spring.boot4.MigrateAmqpToRabbitMq_4_2
mod run . --recipe=io.moderne.java.spring.boot4.MigrateAmqpToRabbitMq_4_2

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

Recipe list

It runs these recipes, in this order.

  1. Rename spring-boot-amqp to spring-boot-rabbitmq
  2. Rename spring-boot-starter-amqp to spring-boot-starter-rabbitmq
  3. Rename spring-boot-starter-amqp-test to spring-boot-starter-rabbitmq-test
  4. Change type org.springframework.boot.amqp.autoconfigure.AbstractConnectionFactoryConfigurer to org.springframework.boot.rabbitmq.autoconfigure.AbstractConnectionFactoryConfigurer
  5. Change type org.springframework.boot.amqp.autoconfigure.AbstractRabbitListenerContainerFactoryConfigurer to org.springframework.boot.rabbitmq.autoconfigure.AbstractRabbitListenerContainerFactoryConfigurer
  6. Change type org.springframework.boot.amqp.autoconfigure.CachingConnectionFactoryConfigurer to org.springframework.boot.rabbitmq.autoconfigure.CachingConnectionFactoryConfigurer
  7. Change type org.springframework.boot.amqp.autoconfigure.ConnectionFactoryCustomizer to org.springframework.boot.rabbitmq.autoconfigure.ConnectionFactoryCustomizer
  8. Change type org.springframework.boot.amqp.autoconfigure.DirectRabbitListenerContainerFactoryConfigurer to org.springframework.boot.rabbitmq.autoconfigure.DirectRabbitListenerContainerFactoryConfigurer
  9. Change type org.springframework.boot.amqp.autoconfigure.EnvironmentBuilderCustomizer to org.springframework.boot.rabbitmq.autoconfigure.EnvironmentBuilderCustomizer
  10. Change type org.springframework.boot.amqp.autoconfigure.RabbitAutoConfiguration to org.springframework.boot.rabbitmq.autoconfigure.RabbitAutoConfiguration
  11. Change type org.springframework.boot.amqp.autoconfigure.RabbitConnectionDetails to org.springframework.boot.rabbitmq.autoconfigure.RabbitConnectionDetails
  12. Change type org.springframework.boot.amqp.autoconfigure.RabbitConnectionFactoryBeanConfigurer to org.springframework.boot.rabbitmq.autoconfigure.RabbitConnectionFactoryBeanConfigurer
  13. Change type org.springframework.boot.amqp.autoconfigure.RabbitListenerRetrySettingsCustomizer to org.springframework.boot.rabbitmq.autoconfigure.RabbitListenerRetrySettingsCustomizer
  14. Change type org.springframework.boot.amqp.autoconfigure.RabbitProperties to org.springframework.boot.rabbitmq.autoconfigure.RabbitProperties
  15. Change type org.springframework.boot.amqp.autoconfigure.RabbitRetryTemplateSettings to org.springframework.boot.rabbitmq.autoconfigure.RabbitRetryTemplateSettings
  16. Change type org.springframework.boot.amqp.autoconfigure.RabbitStreamConnectionDetails to org.springframework.boot.rabbitmq.autoconfigure.RabbitStreamConnectionDetails
  17. Change type org.springframework.boot.amqp.autoconfigure.RabbitStreamTemplateConfigurer to org.springframework.boot.rabbitmq.autoconfigure.RabbitStreamTemplateConfigurer
  18. Change type org.springframework.boot.amqp.autoconfigure.RabbitTemplateConfigurer to org.springframework.boot.rabbitmq.autoconfigure.RabbitTemplateConfigurer
  19. Change type org.springframework.boot.amqp.autoconfigure.RabbitTemplateCustomizer to org.springframework.boot.rabbitmq.autoconfigure.RabbitTemplateCustomizer
  20. Change type org.springframework.boot.amqp.autoconfigure.RabbitTemplateRetrySettingsCustomizer to org.springframework.boot.rabbitmq.autoconfigure.RabbitTemplateRetrySettingsCustomizer
  21. Change type org.springframework.boot.amqp.autoconfigure.SimpleRabbitListenerContainerFactoryConfigurer to org.springframework.boot.rabbitmq.autoconfigure.SimpleRabbitListenerContainerFactoryConfigurer
  22. Change type org.springframework.boot.amqp.autoconfigure.health.RabbitHealthContributorAutoConfiguration to org.springframework.boot.rabbitmq.autoconfigure.health.RabbitHealthContributorAutoConfiguration
  23. Change type org.springframework.boot.amqp.autoconfigure.metrics.RabbitMetricsAutoConfiguration to org.springframework.boot.rabbitmq.autoconfigure.metrics.RabbitMetricsAutoConfiguration
  24. Change type org.springframework.boot.amqp.health.RabbitHealthIndicator to org.springframework.boot.rabbitmq.health.RabbitHealthIndicator
  25. Change type org.springframework.boot.amqp.metrics.RabbitMetrics to org.springframework.boot.rabbitmq.metrics.RabbitMetrics