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 A173410FB6 for ; Tue, 11 Jun 2013 11:17:05 +0000 (UTC) Received: (qmail 12462 invoked by uid 500); 11 Jun 2013 11:17:05 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 12309 invoked by uid 500); 11 Jun 2013 11:17:03 -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 12300 invoked by uid 99); 11 Jun 2013 11:17:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Jun 2013 11:17:02 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of Petter.Nordlander@enfo.se designates 77.95.151.168 as permitted sender) Received: from [77.95.151.168] (HELO mx2.enfo.fi) (77.95.151.168) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Jun 2013 11:16:57 +0000 X-IronPort-AV: E=McAfee;i="5400,1158,7102"; a="154051" Received: from kuowsmail001.lik.enfonet.fi ([10.100.120.11]) by mx2.enfo.fi with ESMTP/TLS/AES128-SHA; 11 Jun 2013 14:16:35 +0300 Received: from KUOWSMAIL001.lik.enfonet.fi ([10.100.120.11]) by KUOWSMAIL001.lik.enfonet.fi ([10.100.120.11]) with mapi id 14.01.0270.001; Tue, 11 Jun 2013 14:16:34 +0300 From: Petter Nordlander To: "users@camel.apache.org" Subject: SV: file zipping.. Thread-Topic: file zipping.. Thread-Index: AQHOZo/Uxl/WA9nVMk++Wyp0fl9/MZkwXM6+ Date: Tue, 11 Jun 2013 11:16:33 +0000 Message-ID: <5496B0EA05DB9144BBDC8E091CCCB006017371A0@KUOWSMAIL001.lik.enfonet.fi> References: <1370931879921-5734077.post@n5.nabble.com> In-Reply-To: <1370931879921-5734077.post@n5.nabble.com> Accept-Language: sv-SE, en-US Content-Language: sv-SE X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.100.18.33] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Hi,=0A= =0A= What version of Camel are you using?=0A= =0A= Please note that zipFile requires the latest version=0A= =0A= "Available since Camel 2.11.0"=0A= =0A= This would explain your issues.=0A= =0A= Best regards =0A= Petter Nordlander=0A= ________________________________________=0A= Fr=E5n: milan777 [milan79patel@gmail.com]=0A= Skickat: den 11 juni 2013 08:24=0A= Till: users@camel.apache.org=0A= =C4mne: file zipping..=0A= =0A= Hello everyone, i am getting error like this in below code please help me t= o=0A= resolve this error thanks in advance....=0A= =0A= =0A= =0A= =0A= package Zip;=0A= =0A= import org.apache.camel.CamelContext;=0A= import org.apache.camel.builder.RouteBuilder;=0A= import org.apache.camel.impl.DefaultCamelContext;=0A= =0A= public class ZipCreation {=0A= =0A= public static void main(String args[]) throws Exception {=0A= CamelContext context =3D new DefaultCamelContext();=0A= =0A= context.addRoutes(new RouteBuilder() {=0A= public void configure() {=0A= =0A= from("file:input/directory?antInclude=3D*/comma.txt").marshal().zipFile().t= o("file:output/directory");=0A= =0A= =0A= }=0A= });=0A= =0A= }=0A= }=0A= =0A= SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".=0A= SLF4J: Defaulting to no-operation (NOP) logger implementation=0A= SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further= =0A= details.=0A= Exception in thread "main" java.lang.Error: Unresolved compilation problem:= =0A= The method zipFile() is undefined for the type=0A= DataFormatClause>=0A= =0A= at Zip.ZipCreation$1.configure(ZipCreation.java:14)=0A= at=0A= org.apache.camel.builder.RouteBuilder.checkInitialized(RouteBuilder.java:32= 2)=0A= at=0A= org.apache.camel.builder.RouteBuilder.configureRoutes(RouteBuilder.java:276= )=0A= at=0A= org.apache.camel.builder.RouteBuilder.addRoutesToCamelContext(RouteBuilder.= java:262)=0A= at=0A= org.apache.camel.impl.DefaultCamelContext.addRoutes(DefaultCamelContext.jav= a:628)=0A= at Zip.ZipCreation.main(ZipCreation.java:12)=0A= =0A= and here i have implemented all dependencies with mendatory classpaths stil= l=0A= i am getting error like zipfile cannot be resolve or field=0A= =0A= please help me out.....thnks again=0A= =0A= =0A= =0A= --=0A= View this message in context: http://camel.465427.n5.nabble.com/file-zippin= g-tp5734077.html=0A= Sent from the Camel - Users mailing list archive at Nabble.com.=0A=