on 05-09-2011 3:44 PM
Hi all,
I hav a scenario where I need to route the file based on the file name.
for eg: if the 10th char of the filename is 'A' then it has to be placed in Location 1
if the 10th char of the filename is 'B' then it has to be placed in location 2.
Both sender and receiver are file adapters.
I thought of using condition in Intrface Determination (Context object) , but got stuck since I have to comapare only the 10th char not all the characters since other characters are dynamic.
Note: This is a pass through Interface and no mapping is involved.
Thanks,
Siva
Since mapping is not involved you might have to use a custom module in sender adapter to determine the 10 th character and to set the location dynamically.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
did you try to use the context object and XPATH functions to help you out.
/people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.