Re: AW: How to use CAMEL to send the acknowledgement and xml output to vendors on different platform ?

2014-04-10 Thread Claus Ibsen
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. >

Re: AW: How to use CAMEL to send the acknowledgement and xml output to vendors on different platform ?

2014-04-10 Thread scottmiles
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

AW: How to use CAMEL to send the acknowledgement and xml output to vendors on different platform ?

2014-04-08 Thread jhm
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