File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,11 +24,11 @@ This application implements an Event mechanism usable in Microservice environmen
24241 . [ Install RabbitMQ] ( https://www.rabbitmq.com/download.html ) (if it's installed on another
2525host than localhost then you need to change the connection properties in ` application.properties ` )
26261 . start a couple instances of the demo application in ` subscriber ` mode, for example:
27- * ./gradlew bootrun -Dspring.profiles.active=subscriber -Dsubscriber.queue=service1Queue -Dsubscriber.routingKey=customer.*
28- * ./gradlew bootrun -Dspring.profiles.active=subscriber -Dsubscriber.queue=service2Queue -Dsubscriber.routingKey=.* created
29- * ./gradlew bootrun -Dspring.profiles.active=subscriber -Dsubscriber.queue=service3Queue -Dsubscriber.routingKey=\* . \*
27+ * ` ./gradlew bootrun -Dspring.profiles.active=subscriber -Dsubscriber.queue=service1Queue -Dsubscriber.routingKey=customer.* `
28+ * ` ./gradlew bootrun -Dspring.profiles.active=subscriber -Dsubscriber.queue=service2Queue -Dsubscriber.routingKey=.*created `
29+ * ` ./gradlew bootrun -Dspring.profiles.active=subscriber -Dsubscriber.queue=service3Queue -Dsubscriber.routingKey=*.* `
30301 . start a single instance of the demo application in ` publisher ` mode:
31- * ./gradlew bootrun -Dspring.profiles.active=publisher
31+ * ` ./gradlew bootrun -Dspring.profiles.active=publisher `
32321 . check the log output of the publisher and the subscribes to see which events are produced and which events
3333 are consumed by each subscriber
3434
You can’t perform that action at this time.
0 commit comments