And use the google search box on the Camel front page. Enter "pollEnrich" and find the camel document
Eg read this: http://camel.apache.org/content-enricher.html On Tue, Aug 25, 2009 at 10:47 AM, Claus Ibsen<[email protected]> wrote: > On Tue, Aug 25, 2009 at 9:44 AM, Charles Moulliard<[email protected]> > wrote: >> 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) >> > > Try asking the computer it will tell. Yeah its should be something like that. > You can provide an AggregationStrategy if you want to "merge" the polled > result. > > >> Additional question : Is it possible in Spring DSL to provide the ref of the >> endpoint to the pollEnrich processor instead of an uri ? >> > > No it currently only support an uri. At least in the Java DSL. > Ref is to be added in the future. > > I cannot remember if the "ref" is in the Spring DSL. You can check > yourself to see if there is an ref attribute to set on the > <pollEnrich> XML tag. > > >> Regards, >> >> Charles Moulliard >> Senior Enterprise Architect >> Apache Camel Committer >> >> ***************************** >> blog : http://cmoulliard.blogspot.com >> > > > > -- > Claus Ibsen > Apache Camel Committer > > Open Source Integration: http://fusesource.com > Blog: http://davsclaus.blogspot.com/ > Twitter: http://twitter.com/davsclaus > -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus
