camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles Moulliard <cmoulli...@gmail.com>
Subject Question regarding usage of pollEnrich with queue and quartz or timer
Date Tue, 25 Aug 2009 07:44:27 GMT
Hi,

I have the following question concerning the usage of pollEnrich processor
with queue and quartz endpoints.

Is the following route correctly configured to pickup messages from a queue
every x minutes

from(quartz:scheduler)
.pollEnrich(uri=Activemq:queue:MessagesToBeProcessed)
.to(bean:component:who will process the messages)

Additional question : Is it possible in Spring DSL to provide the ref of the
endpoint to the pollEnrich processor instead of an uri ?

Regards,

Charles Moulliard
Senior Enterprise Architect
Apache Camel Committer

*****************************
blog : http://cmoulliard.blogspot.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message