camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SwenVogel <>
Subject Body lost with Jetty component
Date Thu, 18 Jun 2009 12:13:14 GMT


im playing around with the jetty component and encountered the problem that
the message body
is lost after reading.

My test processor class is:

private static final class TestProcessor implements Processor {
    public void process(Exchange e) throws Exception {
        Message out = e.getOut();

        System.out.println("Process body = " +

And i add the following route to the CamelContext:

context.addRoutes(new RouteBuilder() {

    public void configure() throws Exception {
        TestProcessor testProcessor = new TestProcessor();


Is use curl for simple HTTP Posting: curl -d"HelloWorld"
and the console output is:

Process body = HelloWorld
Process body = 

but why it is not:
Process body = HelloWorld
Process body = HelloWorld

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message