camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Schaefer <syrious3...@yahoo.de>
Subject write servlet response body in subsequent route
Date Thu, 07 Nov 2013 13:15:44 GMT
Hi there,

I built a route with a servlet-Consumer-Endpoint.
from(servlet)....to(direct:a)

Now I need to write a servlet response in a second route.
from(direct:a).process(...).exchange.getOut().setBody("abc")

However the caller does't receive the response body after calling the servlet route.
(Btw. it works when everything is put in a single route. However that doesn't fulfil my requirements.)

Any ideas how to achieve that?

regards
Chris

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message