camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sohrab <>
Subject Camel Groovier DSL
Date Thu, 23 Feb 2017 12:03:29 GMT
I've always felt that our Camel Groovy DSL is a bit of a cop-out, being just
a thin veneer over Java DSL. It ignores all the features that Groovy offers
when it comes to creating a new DSL.

Also I find Java DSL gets a bit cumbersome, especially since builder pattern
does not lend itself well to a hierarchical structure. (How often I've seen
developers waste hours trying to figure out some weird behaviour just to
find out they missed an end() somewhere along the way. Or have to create
fake indentations to show structure in their route, just for the next guy to
blow it away with a code auto-format.)

To keep the long rant short, I had a crack at a /Groovier DSL/ for Camel.

I appreciate some feedback to see if there is enough interest for such a
thing or not.

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message