I just pushed a branch called "endpoint-dsl".
My goal is to experiment with an auto-generated DSL for endpoints, mainly
to have a complete and type-safe java DSL for endpoints instead of using
URI containing all the parameters. Right now, it compiles but isn't really
usable at a DSL.
I'll get back as soon as I have something which can actually be used so
that we can discuss further various options.
My rough goal is to be able to write something like:
from(file("target/data/foo").delay(4000).backoffMultiplier(4
).backoffIdleThreshold(2).backoffErrorThreshold(3))
.to(mock("result"))
instead of
from(
"file://target/data/foo?delay=4000&backoffMultiplier=4&backoffIdleThreshold=2&backoffErrorThreshold=3"
)
.to("mock:result")
Stay tuned !
--
------------------------
Guillaume Nodet