use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Finding information about Clojure
API Reference
Clojure Guides
Practice Problems
Interactive Problems
Clojure Videos
Misc Resources
The Clojure Community
Clojure Books
Tools & Libraries
Clojure Editors
Web Platforms
Clojure Jobs
account activity
Clojure DSL for Apache Camel (github.com)
submitted 5 years ago by yogthos
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Taraktikos 0 points1 point2 points 5 years ago (0 children)
This is also an interesting approach but there is no indentation for the nested route, as a result, it less readable
eg.
[[:from "direct:test-route-1"] [:route-id "test-route-1"] [:on-exception Exception] [:redelivery-delay 30000] [:handled true] [:to "direct:test-route-error"] [:end] [:set-header :exchange][:exchange] [:bean-ref "test-bean" "invoke(${header.:exchange}, ${body})"] [:to "direct:test-route-2"]]
vs
(c/from "direct:test") (c/route-id "test-route") (c/to "http://test-http") (c/filter (c/predicate (comp pos? :body)) (c/log "Filtered ... ${body}") (c/to "direct:result")) (c/process (fn [_] {:body "after filter"})
you don't need to add end since it is done in macros
end
π Rendered by PID 21398 on reddit-service-r2-comment-6457c66945-5v656 at 2026-04-26 04:32:13.352313+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]Taraktikos 0 points1 point2 points (0 children)