This application demonstrates Red Hat Fuse on Spring-Boot by sending a batch of messages from one broker to another. After the batch of messages is sent, the application terminates.
See src/main/resources/application.properties
- Configure 'from' broker amq.source.*
- Configure 'to' broker amq.destination.*
- Configure number of messages to move
The example can be built with
mvn clean install
java -jar target/spring-boot-amq-1.0.0-SNAPSHOT.jar
-or-
java -jar target/spring-boot-amq-1.0.0-SNAPSHOT.jar --amq.num-messages-to-move=2