Hi The loop is for a fixed number of iterators, its not dynamic.
Instead you can take a look at dynamic router http://camel.apache.org/dynamic-router.html On Thu, Jun 4, 2015 at 4:44 PM, gargankur007 <gargankur...@gmail.com> wrote: > Hi > > I have a usecase in which I have a route which takes m number of rest URLS' > as input and then hits each of these URLS's n number of times each until > response code comes out to be 204. > > So hit a URL until 204 is response code and if it returns 204 move on to > next URL and apply same procedure. > > I tried to use loop EIP but it did not work.Please suggest. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Using-loop-EIP-to-solve-a-Usecase-tp5767874.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen hawtio: http://hawt.io/ fabric8: http://fabric8.io/