Skip to content

Commit 58692fb

Browse files
committed
Update smoke test rabbit amqp
Signed-off-by: Eddú Meléndez <[email protected]>
1 parent b6ec014 commit 58692fb

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

smoke-test/spring-boot-smoke-test-rabbit-amqp/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ description = "Spring Boot RabbitMQ AMQP smoke test"
2323

2424
dependencies {
2525
implementation(project(":starter:spring-boot-starter-amqp"))
26-
implementation("org.springframework.amqp:spring-rabbitmq-client")
2726

2827
dockerTestImplementation(project(":starter:spring-boot-starter-test"))
2928
dockerTestImplementation(project(":core:spring-boot-testcontainers"))

smoke-test/spring-boot-smoke-test-rabbit-amqp/src/main/java/smoketest/amqp/SampleRabbitAmqpSimpleApplication.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
import org.apache.commons.logging.LogFactory;
2121

2222
import org.springframework.amqp.core.Queue;
23+
import org.springframework.amqp.rabbit.annotation.EnableRabbit;
2324
import org.springframework.amqp.rabbit.annotation.RabbitHandler;
2425
import org.springframework.amqp.rabbit.annotation.RabbitListener;
2526
import org.springframework.boot.ApplicationRunner;
@@ -29,6 +30,7 @@
2930
import org.springframework.messaging.handler.annotation.Payload;
3031

3132
@SpringBootApplication
33+
@EnableRabbit
3234
@RabbitListener(queues = "foo")
3335
public class SampleRabbitAmqpSimpleApplication {
3436

0 commit comments

Comments
 (0)