camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Russell, Brian" <>
Subject RE: Quartz Camel Spring Example?
Date Tue, 05 Oct 2010 13:56:52 GMT
Thanks very much.  I guess the part that I'm not understanding in this
is how to get a List<Object> to return from a method where I can then
split it out based on a quart cron trigger.

Let me ask it this way -- is the quartz implementation in camel
literally just the timer part of the process?  So that, when it kicks
off, it pulls from your "from" endpoint to your "to" endpoint?

So I would have something like the following:

	<endpoint id="quartz_scheduler"
uri="quartz://quartTrigger?cron=0+0/1+*+*+*+?" />

	<route id="route1">
		<from ref="quartz_scheduler" />
            <to ref="beanReturningListObject">
			<to ref="map_objects" />
			<to ref="jms_queue" />

Is quartz_scheduler just a cron expression or does it actually map to a
bean?  Does quartzTrigger need to be defined as a bean also?  In my
quartz-only implementation, I actually create a custom trigger bean and
a custom job bean.  The job bean in that scenario would execute a
service layer to get the objects, iterate through them, move them to a
MapMessage, and drop them on the queue.

With this, I'm trying to have a quartz job return a List<Object and drop
each object onto the queue.

I'm just not quite following how this stream gets mapped together
through the spring configuration?


-----Original Message-----
From: Ashwin Karpe [] 
Sent: Monday, October 04, 2010 3:14 PM
Subject: Re: Quartz Camel Spring Example?


Check out the following links



Ashwin Karpe
Apache Camel Committer & Sr Principal Consultant
FUSESource (a Progress Software Corporation subsidiary) 

View this message in context:
Sent from the Camel - Users mailing list archive at

Confidentiality Notice: The information contained in this electronic transmission is confidential
and may be legally privileged. It is intended only for the addressee(s) named above. If you
are not an intended recipient, be aware that any disclosure, copying, distribution or use
of the information contained in this transmission is prohibited and may be unlawful. If you
have received this transmission in error, please notify us by telephone (513) 229-5500 or
by email ( After replying, please erase it from your computer system.

View raw message