#Camelarius
Forked from https://github.com/clumsyjedi/clj-camel-holygrail
"The holy grail of Apache Camel DSLs in Clojure"
Camelarius (Latin) 'camel driver'
Copyright © clumsyjedi (Frazer Irving), xulfus (Janne Haarni)
Distributed under the Eclipse Public License.
Apache Camel is awesome. Clojure is awesome. Together they are double awesomeness.
Latest version:
Include in your project.clj:
(ns my.awesome.camel-project
:dependencies [[org.clojure/clojure "1.6.0"]
[camelarius "0.4.2"]])
Basic routing:
(let [context (make-context)]
(defroute context
(from "seda:source")
(to "mock:dest"))
((make-producer context) "seda:source" "body"))
See the tests for more examples. Also some stuff in the wiki.