@@ -51,6 +51,32 @@ java -jar target/rabbitmq-tutorials.jar --spring.profiles.active=work-queues,sen
51
51
52
52
For tutorial 6, run the server followed by the client.
53
53
54
+ You can find more usage instructions by running the following command:
55
+
56
+ ```
57
+ java -jar target/rabbitmq-tutorials.jar
58
+ ```
59
+
60
+ This will display the following message:
61
+
62
+ ```
63
+ This app uses Spring Profiles to control its behavior.
64
+
65
+ Options are:
66
+ java -jar target/rabbitmq-tutorials.jar --spring.profiles.active=hello-world,receiver
67
+ java -jar target/rabbitmq-tutorials.jar --spring.profiles.active=hello-world,sender
68
+ java -jar target/rabbitmq-tutorials.jar --spring.profiles.active=work-queues,receiver
69
+ java -jar target/rabbitmq-tutorials.jar --spring.profiles.active=work-queues,sender
70
+ java -jar target/rabbitmq-tutorials.jar --spring.profiles.active=pub-sub,receiver
71
+ java -jar target/rabbitmq-tutorials.jar --spring.profiles.active=pub-sub,sender
72
+ java -jar target/rabbitmq-tutorials.jar --spring.profiles.active=routing,receiver
73
+ java -jar target/rabbitmq-tutorials.jar --spring.profiles.active=routing,sender
74
+ java -jar target/rabbitmq-tutorials.jar --spring.profiles.active=topics,receiver
75
+ java -jar target/rabbitmq-tutorials.jar --spring.profiles.active=topics,sender
76
+ java -jar target/rabbitmq-tutorials.jar --spring.profiles.active=rpc,client
77
+ java -jar target/rabbitmq-tutorials.jar --spring.profiles.active=rpc,server
78
+ ```
79
+
54
80
## Configuration
55
81
56
82
When running receivers/servers it's useful to set the duration the app runs to a longer time. Do this by setting
0 commit comments