diff --git a/spring-amqp/pom.xml b/spring-amqp/pom.xml index b84279a3b2..3dcad69d97 100755 --- a/spring-amqp/pom.xml +++ b/spring-amqp/pom.xml @@ -21,4 +21,20 @@ + + com.baeldung.springamqp.simple.HelloWorldMessageApp + + + + + + org.springframework.boot + spring-boot-maven-plugin + + ${start-class} + + + + + diff --git a/spring-amqp/src/main/java/com/baeldung/springamqp/broadcast/BroadcastMessageApp.java b/spring-amqp/src/main/java/com/baeldung/springamqp/broadcast/BroadcastMessageApp.java index d90087ec5c..64bf3ffb93 100644 --- a/spring-amqp/src/main/java/com/baeldung/springamqp/broadcast/BroadcastMessageApp.java +++ b/spring-amqp/src/main/java/com/baeldung/springamqp/broadcast/BroadcastMessageApp.java @@ -9,6 +9,14 @@ import org.springframework.context.annotation.Bean; import static com.baeldung.springamqp.broadcast.BroadcastConfig.*; +/** + * Simple test application to send messages to rabbitMQ. + * + *

To run this particular application with mvn you use the following command:

+ * {@code + * mvn spring-boot:run -Dstart-class=com.baeldung.springamqp.broadcast.BroadcastMessageApp + * } + */ @SpringBootApplication public class BroadcastMessageApp {