Hello
I am currently interacting with a webservice from which I request lists
of documents. The issue is that the web service can only return
documents 100 by 100; therefore I need to loop and I do not know how
much documents I have total. Basically, it looks like:
var List allDocuments
var Pointer lastDocument = beginning
while web service still has documents
var List documents = get documents starting from lastDocument
lastDocument = documents.lastDocument
allDocuments.add documents
I've taken a look at http://camel.apache.org/loop.html but that one
requires me to know the total number of loops; which I do not.
Any solutions?
Cheers
--
S. Ali Tokmen
savas-ali.tok...@bull.net
Office: +33 4 76 29 76 19
GSM: +33 66 43 00 555
Bull, Architect of an Open World TM
http://www.bull.com