FAQ
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 Tests use HttpMessage.



--
-------------------------------------------
Craig Taylor
ctalkobt@ctalkobt.net

Search Discussions

  • Claus Ibsen at Oct 20, 2011 at 2:38 pm
    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 :
    ---
    for the example code of :
    public void process(Exchange exchange) throws Exception {

    HttpSession session = ((HttpExchange)exchange).getRequest().getSession();
    ...
    }
    ---

    yet the Unit Tests use HttpMessage.



    --
    -------------------------------------------
    Craig Taylor
    ctalkobt@ctalkobt.net


    --
    Claus Ibsen
    -----------------
    FuseSource
    Email: cibsen@fusesource.com
    Web: http://fusesource.com
    Twitter: davsclaus, fusenews
    Blog: http://davsclaus.blogspot.com/
    Author of Camel in Action: http://www.manning.com/ibsen/

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupusers @
categoriescamel
postedOct 20, '11 at 2:11p
activeOct 20, '11 at 2:38p
posts2
users2
websitecamel.apache.org

2 users in discussion

Claus Ibsen: 1 post Craig Taylor: 1 post

People

Translate

site design / logo © 2022 Grokbase