Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3B10B9EA6 for ; Wed, 19 Oct 2011 13:30:38 +0000 (UTC) Received: (qmail 87232 invoked by uid 500); 19 Oct 2011 13:30:37 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 87182 invoked by uid 500); 19 Oct 2011 13:30:37 -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 87166 invoked by uid 99); 19 Oct 2011 13:30:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Oct 2011 13:30:37 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.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; Wed, 19 Oct 2011 13:30:32 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1RGWDi-0001QY-P0 for users@camel.apache.org; Wed, 19 Oct 2011 06:30:10 -0700 Date: Wed, 19 Oct 2011 06:30:10 -0700 (PDT) From: ebinsingh To: users@camel.apache.org Message-ID: <1319031010768-4917704.post@n5.nabble.com> Subject: Marshal and Unmarshal files MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi All, I am trying to Marshal and Unmarshal using the zip format. When I marshal the files to a Zip format, the file name does not changed though I see it compressed in the output folder. I was able to change the name using the fileNameOption to *.zip. But this created a problem when I try to unmarhsal the file and if I used the fileName option as mentioned above, the unmarshaled file (Though uncompressed) has the file name as *.zip. Please help resolve this issue. I need to marshal a file and to it's zipformat witht he file name as (*.zip) and then unmarshal it to it's original fileName. Thanks & regards, Ebe -- View this message in context: http://camel.465427.n5.nabble.com/Marshal-and-Unmarshal-files-tp4917704p4917704.html Sent from the Camel - Users mailing list archive at Nabble.com.