camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Matèrne (jhm) <apa...@materne.de>
Subject http://camel.apache.org/bean-binding.html#BeanBinding-Parameterbinding
Date Wed, 06 Feb 2013 20:08:16 GMT
In the examples there is a method
    public String doSomething(String body)
with a String as return type.
Directly under that this is written
"Or the Exchange example. Notice that the return type must be void when
there is only a single parameter:"

How does that fit - void return type and String return type?
Is the rule "void return type when one parameter" only valid for
Exchange-parameters?
Then it would be clearer to write that
"Or the Exchange example. Notice that the return type must be void when
there is only a single parameter of type Exchange:"


Jan


Mime
View raw message