Return-Path: Delivered-To: apmail-camel-users-archive@www.apache.org Received: (qmail 38526 invoked from network); 21 Aug 2009 08:57:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Aug 2009 08:57:43 -0000 Received: (qmail 44416 invoked by uid 500); 21 Aug 2009 08:58:05 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 44357 invoked by uid 500); 21 Aug 2009 08:58:05 -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 44345 invoked by uid 99); 21 Aug 2009 08:58:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Aug 2009 08:58:05 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of claus.ibsen@gmail.com designates 209.85.218.210 as permitted sender) Received: from [209.85.218.210] (HELO mail-bw0-f210.google.com) (209.85.218.210) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Aug 2009 08:57:53 +0000 Received: by bwz6 with SMTP id 6so348148bwz.20 for ; Fri, 21 Aug 2009 01:57:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=bya6CgyEtqAr1kweQuCDU8sG51pX57jLa0ht2AEOXOU=; b=pVCcikdYZMbtSDTusFZBeDDxIrt/aMQSSH6RXrSB5T0JqWhJL0huyGxHtfWvggJCz/ 4jqfDLmmaRgysfDYKbwCFxyp54TJLwzqaHFlnCYb/4sV3/yY3m1N8jSBzwPhe++XXDu7 DA01drB6dmRfVveSVQFltZqMbrWCXETiKG1CU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=Jmr3efn8tbpTg5dvhS4DbfdgSGW9xLZE3KTOX0p4r5e/JSMCJ175xLt32u+iWFvwTv mtTWL8Go2hdQW6bJUHkfFdl6xxgw93NyJVlD/tQCTPsna7b5BfRroVaHOUkwNa16fMkm Xt8FWZdrBkxfgG33sLXvZgt8u6vLHqT1ZDigI= MIME-Version: 1.0 Received: by 10.204.7.198 with SMTP id e6mr699127bke.148.1250845053172; Fri, 21 Aug 2009 01:57:33 -0700 (PDT) In-Reply-To: <4A8E5FD6.5070505@gmail.com> References: <4A8E5FD6.5070505@gmail.com> From: Claus Ibsen Date: Fri, 21 Aug 2009 10:57:13 +0200 Message-ID: <5380c69c0908210157m5f79af2csffe6e8907dbb533f@mail.gmail.com> Subject: Re: Camel & Quartz To: users@camel.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Fri, Aug 21, 2009 at 10:50 AM, Willem Jiang wrot= e: > Hi Charles, > > I don't think the route rule will work for you. > Please remember if your rule has the > > will send the message body to your report queue, not receive the message = for > the report queue. > > Maybe you need find other way to trigge the jms consumer. > .pollEnrich can consume for a endpoint. > Willem > > Charles Moulliard wrote: >> >> Hi, >> >> I have configured my route to use quartz as a job scheduler to read the >> content of my queue every 5 minutes but unfortunately, the body type sen= d >> to >> marshal endpoint is of type "JobDetail" and not "List" as expected. >> >> 09:30:02,545 | INFO =A0| heduler_Worker-1 | x3s >> =A0| >> rg.apache.camel.processor.Logger =A0 88 | Exchange[ >> , BodyType:org.quartz.JobDetail >> , Body:JobDetail >> >> 'DEFAULT.quartz://x3sReporting/clientError?cron=3D0+0%2F5+9-18+%3F+*+MON= -FRI': >> jobClass: 'org.apache.camel.component.quartz.CamelJob isStateful: false >> isVolatile: false isDurable: false requestsRecovers: false >> , CaughtExceptionType:java.lang.ClassCastException, >> CaughtExceptionMessage:org.quartz.JobDetail, >> StackTrace:java.lang.ClassCastException: org.quartz.JobDetail >> =A0 =A0at >> >> org.apache.camel.dataformat.bindy.csv.BindyCsvDataFormat.marshal(BindyCs= vDataFormat.java:60) >> =A0 =A0at >> >> org.apache.camel.processor.MarshalProcessor.process(MarshalProcessor.jav= a:52) >> >> Is my configuration wrong ? >> >> =A0 =A0 =A0 =A0 >> =A0 =A0 =A0 =A0 =A0 =A0> uri=3D"quartz://x3sReporting/clientError?cron=3D0+0/5+9-18+?+*+MON-FRI"/= > >> =A0 =A0 =A0 =A0 =A0 =A0 >> =A0 =A0 =A0 =A0 =A0 =A0 >> =A0 =A0 =A0 =A0 =A0 =A0 >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0body is java.util.L= ist >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0java.lang.Except= ion >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0> >> uri=3D"log:com.xpectis.x3s?level=3DINFO&multiline=3Dtrue&showExc= eption=3Dtrue&showCaughtException=3Dtrue&showStackTrace=3Dtrue" >> /> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >> =A0 =A0 =A0 =A0 =A0 =A0 >> =A0 =A0 =A0 =A0 >> >> Regards, >> >> Charles Moulliard >> Senior Enterprise Architect >> Apache Camel Committer >> >> ***************************** >> blog : http://cmoulliard.blogspot.com >> > > --=20 Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus