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:  
Vorstand: Peter Kirschbauer (Vors.), Jörg Stadler  
Aufsichtsratsvors.: Prof. Dr. Christof Hettich  
Firmensitz: 69190 Walldorf, Altrottstraße 31  
AG Mannheim HRB 351761 / USt.-IdNr.: DE 198388516  

Reply via email to