Files
spring-integration-samples/dsl/cafe-dsl
Artem Bilan 1c2b95ed07 GH-195: Fix cafe-dsl for missed subscriber
Fixes https://github.com/spring-projects/spring-integration-samples/issues/195

After some Java DSL modification to request an explicit subscriber for replies
into a main flow from the `route()`, the `cafe-dsl` has stopped to work

* Remove redundant `defaultOutputToParentFlow()` since it doesn't bring any
value into a flow logic
* add `bridge()` into all the route sub-flows as a thirds subscriber to
make an explicit reply into a main flow after delay and logging
2020-02-28 12:00:31 -05:00
..
2020-02-28 11:05:36 -05:00

Cafe Demo: Spring Integration Java DSL

This sample demonstrates the classical Cafe Demo, but it is based on Spring Integration Java DSL and Spring Boot.

See the cafe project README.md for more details about the domain and the Cafe algorithm.

Run the Sample

  • You need Java 8 to run this sample, because it is based on Lambdas.

  • running the org.springframework.integration.samples.dsl.cafe.lambda.Application class from within STS (Right-click on Main class --> Run As --> Java Application)

  • or from the command line:

    $ gradlew :cafe-dsl:bootRun