Return-Path: X-Original-To: apmail-camel-dev-archive@www.apache.org Delivered-To: apmail-camel-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3F60217573 for ; Wed, 12 Nov 2014 08:19:27 +0000 (UTC) Received: (qmail 17554 invoked by uid 500); 12 Nov 2014 08:19:27 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 17511 invoked by uid 500); 12 Nov 2014 08:19:27 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 17500 invoked by uid 99); 12 Nov 2014 08:19:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Nov 2014 08:19:26 +0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of richard.groote@gmail.com does not designate 162.253.133.43 as permitted sender) Received: from [162.253.133.43] (HELO mwork.nabble.com) (162.253.133.43) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Nov 2014 08:19:21 +0000 Received: from msam.nabble.com (unknown [162.253.133.85]) by mwork.nabble.com (Postfix) with ESMTP id 8C9F89B54B2 for ; Wed, 12 Nov 2014 00:17:31 -0800 (PST) Date: Wed, 12 Nov 2014 01:17:30 -0700 (MST) From: richardgroote To: dev@camel.apache.org Message-ID: <1415780250374-5758961.post@n5.nabble.com> Subject: Why StreamResultHandlerFactory uses a byte[] instead of the stream MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hello, The StreamResultHandlerFactory / StreamResultHandler sets a byte array in the body. Why not set the outputstream itself in the body then the processing is streaming. Kind regards, Richard PS Version of camel used is 2.12.2 (also checked the code of 2.14) -- View this message in context: http://camel.465427.n5.nabble.com/Why-StreamResultHandlerFactory-uses-a-byte-instead-of-the-stream-tp5758961.html Sent from the Camel Development mailing list archive at Nabble.com.