on 08-01-2008 10:56 AM
hi experts,
we have a scenario where we need to pick aparticular number of files from a folder within particular time
EX: we have 20000 messages in source directory . our file adapter should pick avg 300 files from the source directory within 3o min time interval. please help
So our thinking matches :). Thats good.
Not much different, but a slight different way could be instead of XI handling the OS commands, configure sender to distribute the file to some intermediate location. This may reduce a bit processing effort of XI (as no of message is too large).
Complexity of mapping and type of reciever may be part of some decision.
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This would be like scheduling some processes on the sender side OS. Like some scheduling tasks of Windows (just an e.g).
Or else if ur FTP Server (if u r using an FTP) supports certain types of small tasks to be performed on the server directly, then it could perform the part of categorizing 300 files.
Regards,
Prateek
I can't think of any direct option as of now.
A workaround could be using OS command, write a script to copy 300 files (based on their last modification date) to an Intermediate folder deleting it from the Original source folder. Now use this script at file sender communication channel. Use polling interval as 30*60 = 1800 secs. And source directory in channel as the Intermediate directory.
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.