diff --git a/spring-boot-project/spring-boot-cli/samples/rabbit.groovy b/spring-boot-project/spring-boot-cli/samples/rabbit.groovy index 5723c8521b00..82757ddb3ab9 100644 --- a/spring-boot-project/spring-boot-cli/samples/rabbit.groovy +++ b/spring-boot-project/spring-boot-cli/samples/rabbit.groovy @@ -25,8 +25,8 @@ class RabbitExample implements CommandLineRunner { } @Bean - Queue queue() { - new Queue("spring-boot", false) + org.springframework.amqp.core.Queue queue() { + new org.springframework.amqp.core.Queue("spring-boot", false) } } \ No newline at end of file