You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Ulrich Kramer (JIRA)" <ji...@apache.org> on 2013/11/21 12:22:35 UTC

[jira] [Created] (CAMEL-6991) Problem with stream caching and DefaultHttpBinding.writeResponse

Ulrich Kramer created CAMEL-6991:
------------------------------------

             Summary: Problem with stream caching and DefaultHttpBinding.writeResponse
                 Key: CAMEL-6991
                 URL: https://issues.apache.org/jira/browse/CAMEL-6991
             Project: Camel
          Issue Type: Bug
    Affects Versions: 2.11.2
         Environment: Debian 7
            Reporter: Ulrich Kramer


DefaultHttpBinding.writeResponse was modified between 2.11.0 and 2.11.2. This yields to a problem with stream caching. 

When exchange.out is not set target (DefaultHttpBinding.java:215)  is assigned to exchange.in . exchange.in may contain a body which is already removed by an onCompletion callback. In DefaultHttpBindung.java:377 this body is read. This may yield to an exception



--
This message was sent by Atlassian JIRA
(v6.1#6144)