On Wed, Feb 29, 2012 at 6:07 PM, Michael Szalay <[email protected]> wrote: > Hi all > > I'm new to camel. I try to model the following data flow process > > 1) Create some objects that all other processors in the route can share > 2) Load some values from the database > 3) For each value in the database > 3a) make a http request > 3b) save the file from the 3a) in a directory structure > > I'm not sure about point 1. Is it possible to define such objects and where > do I put them? In the camel context? > How can I access them? > > About points 3): how can I make 3a) and 3b) dynamic so that these steps > execute for each value provided by > the step 2)? >
At step 3 sounds like the Splitter EIP http://camel.apache.org/splitter > Thanks for any startup hints. > > Regards Michael > > -- > Michael Szalay > Senior Software Engineer > > basis06 AG, Birkenweg 61, CH-3013 Bern - Fon +41 31 311 32 22 > http://www.basis06.ch - source of smart business > -- Claus Ibsen ----------------- FuseSource Email: [email protected] Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/
