Pras,
Once an array has been created, you can’t dynamically increase the physical size of an array. You can do so with objects that implement the java.util.Collection interface, but these have a little more abstraction involved than working directly with arrays.
You should also only use capitals for a constant reference ([url]http://java.sun.com/docs/codeconv/html/CodeConventions.doc.html)[/url].
If you are not sure what these terms mean, you could perhaps consider working through [url="http://developer.java.sun.com/developer/onlineTraining/"]http://developer.java.sun.com/developer/onlineTraining/[/url] or [url="http://java.sun.com/docs/books/tutorial/"]http://java.sun.com/docs/books/tutorial/[/url] .
You'd need to follow another technique to achieve what you want in Java. As Dan Green said, it's probably better to do it in FLOW.
Nick_F
#Integration-Server-and-ESB#Flow-and-Java-services#webMethods