on 06-10-2011 6:51 AM
Hi,
Scenario File -> File (using an SFTP adapter)
Is there anyway I can configure my receiver determination in a way to look at a file-name which determines which comm channel is used? The mapping does not contain this info, only the filename so I can't look at the mapping..
Thanks,
Jan
Hello,
In your receiver determination conditions, you have an option to use context objects there instead of xPath. There is a context object called FileName.
Hope this helps,
Mark
Edited by: Mark Dihiansan on Jun 10, 2011 7:59 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Do you know if I can use <filename> as a right hand operand?
No, it is not possible to use contextObjects and xpath in the right hand operand. The values there are always hardcoded.
for example if the filename is:
GoodsMovement_20110610.Ready can I specify GoodsMovemen which will pick up all those specific files?
If you will be picking files, you should use file sender instead Filename would be GoodsMovement_*
Hope this helps,
Mark
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
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.