This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener). # Fixed URLs ## Fixed Success These URLs were fixed successfully. * http://www.apache.org/licenses/LICENSE-2.0.txt migrated to: https://www.apache.org/licenses/LICENSE-2.0.txt ([https](https://www.apache.org/licenses/LICENSE-2.0.txt) result 200). * http://projects.spring.io/spring-integration migrated to: https://projects.spring.io/spring-integration ([https](https://projects.spring.io/spring-integration) result 301). * http://repo.spring.io/libs-milestone migrated to: https://repo.spring.io/libs-milestone ([https](https://repo.spring.io/libs-milestone) result 302). * http://repo.spring.io/libs-snapshot migrated to: https://repo.spring.io/libs-snapshot ([https](https://repo.spring.io/libs-snapshot) result 302). * http://repo.spring.io/libs-staging-local migrated to: https://repo.spring.io/libs-staging-local ([https](https://repo.spring.io/libs-staging-local) result 302). # Ignored These URLs were intentionally ignored. * http://maven.apache.org/POM/4.0.0 * http://maven.apache.org/xsd/maven-4.0.0.xsd * http://www.w3.org/2001/XMLSchema-instance
Cafe Demo - Scripted Implementation
This is the scripted implementation of the classic cafe sample application. You can choose among javascript, groovy, ruby, and python scripting languages. The functionality is basically identical in all cases to the original cafe demo.
Instructions for running the CafeDemo sample
The script language is passed as a command line argument. This may be run directly from Gradle:
$ gradlew :cafe-scripted:runCafeDemoApp -Plang=[language]
Groovy Control Bus
This sample also demonstrates the use of Spring Integration's groovy control bus which accepts Groovy scripts as control messages. These scripts may invoke lifecycle operations on adapters or operations on managed beans.
To demonstrate the control bus, while the CafeDemoApp is running, execute in a separate window:
$ gradlew :cafe-scripted:runControlBus
This will use groovy scripts to
- Query the waiter for the total number of orders delivered
- If the total orders > 3, stop the inbound adaptor on the cafe (the order flow). The Cafe application will continue to run, but eventually the output will stop when all pending orders have completed.