Files
spring-integration-samples/dsl/cafe-dsl
Gary Russell ecab656cc1 INTEXT-191: Add Apache Kafka Sample
JIRA: https://jira.spring.io/browse/INTEXT-191

Polishing and build.gradle fix for pom generation
2015-09-21 17:30:47 -04:00
..
2015-09-09 17:03:40 -04:00
2015-09-21 17:30:47 -04:00
2015-01-05 11:19:12 -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:run

There is the second similar sample - org.springframework.integration.samples.dsl.cafe.nonlambda.Application, which demonstrates how Spring Integration Java DSL can be used from pre Java 8 environment.