* Fix compatibility after Java DSL migration to the SI Core * Also upgrade all the JMS sample to the JMS 2.0 * Fix default `connectionFactory` bean reference to the current `jmsConnectionFactory` * Remove unsupported JPA-1.0 Spec via `OpenJpaAutoConfiguration`, since the minimum now is JPA-2.0 * Remove non-lambda sample since minimum now is Java 8 * Rename `PromiseTest` to `MonoTest` and fix it to Reactor 3.0 * Fix `stomp-server.xml` to use proper Reactor 3.0 `eactor.util.function.Tuples` for SpEL * Regenerate POMs
#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.Applicationclass 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.