Hi Yes you can have 1..n route policies on a route.
Which instances you provide to Camel is your game. So you can have different instances that are from the same class type etc. On Thu, May 16, 2013 at 8:24 PM, Chris Wolf <[email protected]> wrote: > I implemented a custom route policy that is similar to the > CronScheduledRoutePolicy, except instead > of start/resume suspend crontabs, it only has a start/resume crontab > and a duration. > > Well, now I need to support multiple customers,each having different > schedules. I was thinking of just > adding multiple instances via the bean factory option > "singleton=false" because I notice that you > can have multiple RoutePolicies on a route, but can you have multiple > instances of the same RoutePolicy, > where each has a different crontab? > > > Or maybe, I should probably implement a custom processor to call on > the quartz component in a loop > to create the per-customer crontabs? Any thoughts? > > Thanks, > > > Chris -- Claus Ibsen ----------------- www.camelone.org: The open source integration conference. Red Hat, Inc. FuseSource is now part of Red Hat Email: [email protected] Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen
