On Thu, Apr 10, 2014 at 3:14 PM, scottmiles wrote:
> Assume i have below ValidateOrder
>
> public class ValidateOrder {
> public void check1(String body) throws ValidationException {
> // body is the value of Exchange.getIn().getBody(String.class) and
> provided by bean-binding.
>
Assume i have below ValidateOrder
public class ValidateOrder {
public void check1(String body) throws ValidationException {
// body is the value of Exchange.getIn().getBody(String.class) and
provided by bean-binding.
}
public void check2(String body) throws ValidationExcept
As described in http://camel.apache.org/bean-binding.html (which is refered
in http://camel.apache.org/walk-through-another-example.html) there is no
special method and choosing the right method (from Camel) is complicated.
The easiest POJO you could have is
public class ValidateOrder {
public