Re: Integration of Suppliers in Java 8 DSL

2017-02-16 Thread Claus Ibsen
Hi Yeah I think its fine to wait for Camel 3.0. I suggest to log a JIRA and point to this thread so its not lost/forgotten. It also takes time for Camel users to be on Java 8 and provide feedback on the Camel DSL where they can see ways to do this in a natural Java 8 way. And also users want to b

Integration of Suppliers in Java 8 DSL

2017-02-15 Thread Luca Burgazzoli
Hi, I'm working to make the Java DSL more Java 8 friedly adding missing pieces from the previous Java 8 round and one of the thing that was missing was the possibility to use Suppliers to provides objects to the routes. As today: from("direct:start") .idempotentConsumer()