amqphub / amqp-10-jms-spring-boot

AMQP 1.0 JMS Binding for Spring Boot
Apache License 2.0
35 stars 25 forks source link

How to Use Embedded Broker for Unit Test #10

Closed reachmehere89 closed 3 years ago

reachmehere89 commented 3 years ago

Can someone share an example on how to use Embedded Broker for Unit Test in spring boot

tabish121 commented 3 years ago

Refer to the unit tests for the various project examples for some inspiration. https://github.com/amqphub/amqp-10-jms-spring-boot/blob/master/amqp-10-jms-spring-boot-examples/amqp-10-jms-spring-boot-hello-world/src/test/java/org/amqphub/spring/boot/jms/example/HelloWorldExampleTest.java