Hi, Depending on the behaviour that you are pursuing, and assuming that at some point you will want to send the exchange to the list of endpoints stored in your header (either sequentially or in a multicast fashion), you could use different the different enterprise integration patterns offered by Camel to apply some routing logic.
You can take a look at Recipient List ( http://camel.apache.org/recipient-list.html) and Routing Slip ( http://camel.apache.org/routing-slip.html) as an example. Regards, Raúl. On 10 October 2011 22:26, David Karlsen <davidkarl...@gmail.com> wrote: > Hi. > > I'd like to iterate over a header containing a list and doing a "to > uri" for each value. > Is this possible? > > The splitter seems to only support body values, and camel:loop seems > to be count-oriented. > > I could of course loop and use an expression for the list length and > access it by index - but maybe something cleaner and down to the point > exists OOTB? > > -- > -- > David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen >