Re: Jetty Session documentation error.

2011-10-20 Thread Claus Ibsen
Hi Thanks for reporting. That example was for the Camel 1.x days. I have updated it accordingly how you can do it in Camel 2.x. On Thu, Oct 20, 2011 at 4:10 PM, Craig Taylor wrote: > Looking at  http://camel.apache.org/jetty.html  the example uses > HttpExchange in the following code : > --- > f

Jetty Session documentation error.

2011-10-20 Thread Craig Taylor
Looking at http://camel.apache.org/jetty.html the example uses HttpExchange in the following code : --- for the example code of :  public void process(Exchange exchange) throws Exception { HttpSession session = ((HttpExchange)exchange).getRequest().getSession(); ... } --- yet the Unit T