Skip to content

The holy grail of Apache Camel DSLs in Clojure

License

Notifications You must be signed in to change notification settings

xulfus/camelarius

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

The holy grail of Apache Camel DSLs in Clojure

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published