Skip to content

Latest commit

 

History

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

README.adoc

File metadata and controls

executable file
·
35 lines (24 loc) · 489 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
mvn spring-boot:run
  • Start the Work Dispatcher:

cd work-dispatcher
mvn spring-boot:run
  • Create dummy work units by calling a controller endpoint:

http://localhost:8080/generateWork?definition=test