Hello Mark,

You can use a timer [1] to trigger the processing of the route, then call
the bean to retrieve the list of elements to process and finally process
your elements.

[1] http://camel.apache.org/timer.html


2016-07-20 14:29 GMT+02:00 Mark Nuttall <mknutt...@gmail.com>:

> As part of a "From" in a route, I need to able to "poll" (either by time or
> schedule) a spring bean (i.e. a Spring Service)  and get a List<> by
> calling a bean's method,so that i can process each item in the list.  I've
> looked at "bean" and "jpa" but i am not seeing this in "bean" and I am not
> using JPA per se (i.e. the Service class might modify/enhance the list and
> thus is not a pure query).
>
> 1. can this be done?
> 2. is there i a link to an example?
>
>
> Mark
>

Reply via email to