File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -24,11 +24,11 @@ This application implements an Event mechanism usable in Microservice environmen
24
24
1 . [ Install RabbitMQ] ( https://www.rabbitmq.com/download.html ) (if it's installed on another
25
25
host than localhost then you need to change the connection properties in ` application.properties ` )
26
26
1 . 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=*.* `
30
30
1 . 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 `
32
32
1 . check the log output of the publisher and the subscribes to see which events are produced and which events
33
33
are consumed by each subscriber
34
34
You can’t perform that action at this time.
0 commit comments