https://build.spring.io/browse/INTSAMPLES-NIGHTLY-2059/ Fix `JmsMockTests` stubbing via making endpoint stopped before mocking Force SI and SF versions via their BOMs imports Regenerate POMs including `dependencyManagement` for BOMs customization
Café Sample Application - AMQP Implementation
See the parent-level README.md for more details, but the flow of the implementation should follow this diagram:
Barista
hotDrinks ____________________
|==========| -->| |
orders drinks / | prepareHotDrink() |
Place Order ->Cafe->|======|->OrderSplitter->|======|->DrinkRouter | |
\ coldDrinks | prepareColdDrink() |
|==========| -->| |
|____________________|
Legend: |====| - channels
Instructions for running the CafeDemo AMQP sample
Distributed components
To run this alternative configuration of the sample, be sure to have a RabbitMQ broker started on localhost:5672 configured with the default guest|guest client credentials on the / vHost, then execute the following test classes in order:
- cafeDemoAppBaristaColdAmqp - starts the Cold Drink Barista
- cafeDemoAppBaristaHotAmqp - starts the Hot Drink Barista
- cafeDemoAppAmqp - starts the Cafe Storefront (Places 100 orders on the orders queue)
- cafeDemoAppOperationsAmqp - starts the Cafe Operations (OrderSplitter, DrinkRouter, PreparedDrinkAggregator)
Note: All AMQP exchanges, queues, and bindings needed for this sample are defined within the different xml config files that support the above test classes.