Skip to content

Latest commit

 

History

History
executable file
·
35 lines (24 loc) · 486 Bytes

README.adoc

File metadata and controls

executable file
·
35 lines (24 loc) · 486 Bytes

Sample Spring Cloud Stream code to send and process "Work Units" with a RabbitMQ broker mediating the transfer

Steps

  • 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