Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-6991

Problem with stream caching and DefaultHttpBinding.writeResponse

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.11.2
    • 2.12.0
    • camel-http
    • None
    • Debian 7

    • Unknown

    Description

      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

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            ulrich.kramer Ulrich Kramer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: