Hi,

If we add the following annotation @Handler to our method, can we continue
to use annotations like @Header, @Body as parameters ?

Example

public class Bar {

    @Handler
    public String doSomething(@Header(name = "user") String user,
@Body String body, Exchange exchange) {
      // process the in body and return whatever you want
      return "Bye World";
   }


Regards,

Charles Moulliard
Senior Enterprise Architect
Apache Camel Committer

*****************************
blog : http://cmoulliard.blogspot.com

Reply via email to