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 2899C1055E for ; Fri, 19 Jul 2013 06:27:51 +0000 (UTC) Received: (qmail 56877 invoked by uid 500); 19 Jul 2013 06:27:50 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 56460 invoked by uid 500); 19 Jul 2013 06:27:41 -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 Delivered-To: moderator for users@camel.apache.org Received: (qmail 29354 invoked by uid 99); 19 Jul 2013 02:16:13 -0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=FORGED_YAHOO_RCVD,URI_HEX X-Spam-Check-By: apache.org Received-SPF: error (athena.apache.org: local policy) Date: Thu, 18 Jul 2013 19:15:28 -0700 (PDT) From: vinay To: users@camel.apache.org Message-ID: <1374200128774-5735880.post@n5.nabble.com> In-Reply-To: References: <1374124022762-5735829.post@n5.nabble.com> Subject: Re: camel error with simple program with camel-core-2.11.1.jar MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Thanks Claus, that fixed it.....but have another problem now, I changed route as follows and I get exception for .process closure class MyRouteBuilder extends org.apache.camel.builder.RouteBuilder { void configure() { from("direct://foo") .to("log://camelLogger?level=INFO") .process { println it.in.body } .to("mock://result?retainLast=10") } } Caught: groovy.lang.MissingMethodException: No signature of method: org.apache.camel.model.RouteDefinition.process() is applicable for argument types: (MyRouteBuilder$_configure_closure1) values: [MyRouteBuilder$_configure_closure1@6af5e140 ] Possible solutions: process(org.apache.camel.Processor), processRef(java.lang.String) groovy.lang.MissingMethodException: No signature of method: org.apache.camel.mod el.RouteDefinition.process() is applicable for argument types: (MyRouteBuilder$_ configure_closure1) values: [MyRouteBuilder$_configure_closure1@6af5e140] Possible solutions: process(org.apache.camel.Processor), processRef(java.lang.St ring) at MyRouteBuilder.configure(CallCallista1.groovy:10) at org.apache.camel.builder.RouteBuilder.checkInitialized(RouteBuilder.java:322) at org.apache.camel.builder.RouteBuilder.configureRoutes(RouteBuilder.java:276) at org.apache.camel.builder.RouteBuilder.addRoutesToCamelContext(RouteBuilder.java:262) at org.apache.camel.impl.DefaultCamelContext.addRoutes(DefaultCamelContext.java:650) at org.apache.camel.CamelContext$addRoutes.call(Unknown Source) at CallCallista1.run(CallCallista1.groovy:20) -- View this message in context: http://camel.465427.n5.nabble.com/camel-error-with-simple-program-with-camel-core-2-11-1-jar-tp5735829p5735880.html Sent from the Camel - Users mailing list archive at Nabble.com.