xmatoha
May 24th, 2008, 07:59 AM
Hello,
I would like to know your opinion on how to best implement source adapter when I have file which is say 5GB. I can identify records(rows in file) which I can then map to java objects. Polling for file records is not good, there is a problem how to specify period. I need to pull records continuously until I reach eof.
Currently I have java class which takes spring integration channel and iterates over records in file convert them into objects and place them on channel.
My question is, if there is more consistent way how to impelment this, using M4. If not is there a plan to cover this kind of "pattern" with spring integration.
thank you
I would like to know your opinion on how to best implement source adapter when I have file which is say 5GB. I can identify records(rows in file) which I can then map to java objects. Polling for file records is not good, there is a problem how to specify period. I need to pull records continuously until I reach eof.
Currently I have java class which takes spring integration channel and iterates over records in file convert them into objects and place them on channel.
My question is, if there is more consistent way how to impelment this, using M4. If not is there a plan to cover this kind of "pattern" with spring integration.
thank you