Return-Path: Delivered-To: apmail-camel-users-archive@www.apache.org Received: (qmail 11376 invoked from network); 14 Dec 2010 15:12:51 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 14 Dec 2010 15:12:51 -0000 Received: (qmail 82647 invoked by uid 500); 14 Dec 2010 15:12:51 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 82567 invoked by uid 500); 14 Dec 2010 15:12:51 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 82559 invoked by uid 99); 14 Dec 2010 15:12:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Dec 2010 15:12:50 +0000 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=FREEMAIL_FROM,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Dec 2010 15:12:44 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.69) (envelope-from ) id 1PSWYB-0001Oq-A5 for users@camel.apache.org; Tue, 14 Dec 2010 07:12:23 -0800 Date: Tue, 14 Dec 2010 07:12:23 -0800 (PST) From: davsclaus To: users@camel.apache.org Message-ID: <1292339543307-3304723.post@n5.nabble.com> In-Reply-To: <1292339370130-3304717.post@n5.nabble.com> References: <1292338030516-3304671.post@n5.nabble.com> <1292339370130-3304717.post@n5.nabble.com> Subject: Re: Using ConsumerTemplate to fetch files. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Since you work with the low level Exchange, you need to done it if you want it to move the files. exchange.getUnitOfWork().done(exchange); This is done automatic for you in Camel 2.5 onwards if you use, eg receiveBody instead Object body = consumer.redeveiveBody("uri", xxx); -- View this message in context: http://camel.465427.n5.nabble.com/Using-ConsumerTemplate-to-fetch-files-tp3304671p3304723.html Sent from the Camel - Users mailing list archive at Nabble.com.