camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SwenVogel <>
Subject Jetty asynchronus and parallel processing
Date Tue, 13 Oct 2009 10:26:03 GMT


i want to receive data over an HTTP-POST request and immediately return, so
the processing
is done asynchronously. The client should receive a HTTP status code 200
without any response data.

I have the following two routes:

The route that receives the data, set some simple properties, and send the
to the message processing route.


The message processing route do some post and pre processings and sends the
message to
endpoints that are determined at runtime, therefore i used the routing slip.


In the second route (seda:messageProcessing) i used the threads DSL to
enable parallel  processing,
but i cannot figure out if this ist the correct way!

The problem with this solution ist that the jetty endpoint always returns
the request data as response data.

So when i send:

	Apache Camel is cool!

I get back:

	Apache Camel is cool!

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

View raw message