Title: [985] trunk/components/base/src/main/java/org/servicemix/components/http/HttpInOutBinding.java: When using in-only in HttpInOutBinding, use a sendSync so that the http input stream is not closed, before processing the request.
- Revision
- 985
- Author
- gnt
- Date
- 2005-12-01 10:42:34 -0500 (Thu, 01 Dec 2005)
Log Message
When using in-only in HttpInOutBinding, use a sendSync so that the http input stream is not closed, before processing the request.
Modified Paths
Diff
Modified: trunk/components/base/src/main/java/org/servicemix/components/http/HttpInOutBinding.java (984 => 985)
--- trunk/components/base/src/main/java/org/servicemix/components/http/HttpInOutBinding.java 2005-12-01 13:25:45 UTC (rev 984)
+++ trunk/components/base/src/main/java/org/servicemix/components/http/HttpInOutBinding.java 2005-12-01 15:42:34 UTC (rev 985)
@@ -84,7 +84,8 @@
HttpMarshaler marshaler = getMarshaler();
marshaler.toNMS(exchange, inMessage, request);
exchange.setInMessage(inMessage);
- getDeliveryChannel().send(exchange);
+ // Do a sendSync so that the stream is not closed
+ getDeliveryChannel().sendSync(exchange);
response.setStatus(HttpServletResponse.SC_OK);
}
catch (IOException e) {