Liking cljdoc? Tell your friends :D

#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.

Rationale

Apache Camel is awesome. Clojure is awesome. Together they are double awesomeness.

Usage

Latest version:

Clojars Project

Include in your project.clj:

(ns my.awesome.camel-project
  :dependencies [[org.clojure/clojure "1.6.0"]
                 [camelarius "0.4.1"]])

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.

Can you improve this documentation? These fine people already did:
Janne Haarni & clumsyjedi
Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close