• Greg Turnquist's avatar
    Add support for Spring Rabbit (via Spring AMQP) to Boot · 941d1637
    Greg Turnquist authored
    - If RabbitTemplate is on the classpath, turn on autodetection.
    - Create a RabbitTemplate, a Rabbit ConnectionFactory, and a RabbitAdmin is spring.rabbitmq.dynamic:true
    - Enable some **spring.rabbitmq** properties like host, port, username, password, and dynamic
    - Add tests to verify functionality
    - Add Groovy CLI functionality. Base it on @EnableRabbitMessaging. Add spring-amqp to the path.
    - Create rabbit.groovy test to prove it all works.
    - Make Queue and TopicExchange top-level Spring beans in rabbit.groovy test script
    941d1637
rabbit.groovy 1.5 KB