I have to put a files in a queue . The size of a each file is very large ,and hence decided to put a single file each time into queue , so that queue may not be overloaded . i have to put each file into queue only when previus file has been read. i.e once i get a notification from the other side that the file is read, then only i want to put next file.
Can anybdy tellme how this can be done using java and MQseries