Re: [DISCUSS] from DSL with a class parameter for expected body type

2011-06-30 Thread Claus Ibsen
On Thu, Jun 30, 2011 at 12:16 PM, wrote: > Hi devs, > > does it make sense to extend the DSL with an additional from(...) method > that asserts the type of the in message body? This might also help with > the readability. > > for example, > from("direct:input", MyExpectedInput.class) >        ...

[DISCUSS] from DSL with a class parameter for expected body type

2011-06-30 Thread mitko . kolev
Hi devs, does it make sense to extend the DSL with an additional from(...) method that asserts the type of the in message body? This might also help with the readability. for example, from("direct:input", MyExpectedInput.class) ... Regards, Mitko    InterComponentWare AG: Vo