Sample Spring Cloud Stream code to send and process "Work Units" with a RabbitMQ broker mediating the transfer
-
Start RabbitMQ server:
rabbitmq-server-
Start the Work Handler:
cd work-handler
../gradlew bootRun-
Start the Work Dispatcher:
cd work-dispatcher
../gradlew bootRun-
Create dummy work units by calling a controller endpoint:
http://localhost:8080/generateWork?definition=test