using to read header

2013-06-24 Thread indrayani
Hi all, my camel route is defined as follows : http://camel.apache.org/schema/spring";> in the testdata method, i am accessing the body as follows public static void testData(String body) {

Re: using to read header

2013-06-24 Thread Claus Ibsen
Hi Yeah you can access the headers as well in the testData method. Read about bean parameter binding http://camel.apache.org/bean-binding.html http://camel.apache.org/parameter-binding-annotations.html http://camel.apache.org/bean On Mon, Jun 24, 2013 at 1:53 PM, indrayani wrote: > Hi all, > my