camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Schäfer <>
Subject Premature servlet response
Date Mon, 11 Mar 2013 13:44:03 GMT

currently I have the problem of not beeing able to set servlet response which was generated
by the last processor of my route:

servlet-consumer ->  processor1 -> onCompletion -> aggregate -> processor2 (response

When I fire my test to the deployed servlet endpoint (camel 2.10.4 @ JBoss 7.1) it behaves
in the order that:
1. body of processor1 is returned as http response
2. after that, processor2 starts which is too late as the response is still sent.

How to force the route to send the response only when processor2 is done?

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