Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mgubaidullin/camel-narrative
Narrative API for Apache Camel
https://github.com/mgubaidullin/camel-narrative
apachecamel fun java
Last synced: about 2 months ago
JSON representation
Narrative API for Apache Camel
- Host: GitHub
- URL: https://github.com/mgubaidullin/camel-narrative
- Owner: mgubaidullin
- License: apache-2.0
- Created: 2020-04-19T14:24:29.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-02-24T19:41:54.000Z (almost 3 years ago)
- Last Synced: 2023-02-28T17:25:57.828Z (almost 2 years ago)
- Topics: apachecamel, fun, java
- Language: Java
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Narrative API for Apache Camel
This project demonstrates narrative API examples for Apache Camel.
Simple single route (Flash Fiction):
```java
Caravan.go(
Camel.from("file:input").to("file:output"));
```Route with bean binding (Short Story):
```java
Caravan.load("bale", new Bale())
.go(Camel.from("timer:start").to("bean:bale"));
```Multiple routes (Novellette):
```java
Caravan.go(
Camel.from("file:input").to("file:output"),
Camel.from("file:output").to("log:output"));
```