on 04-27-2011 11:00 AM
Hello All,
Here I have a scenario where based on the source file name PI should route it to corresponding Business system.
There is no IR part as it is a pass through Interface. Instead of creating multiple channels can I check the condition(file name based condition) at Receiver determination level in ID part?
Thanks,
Regards,
Moorthy
Hello,
There is no IR part as it is a pass through Interface. Instead of creating multiple channels can I check the condition(file name based condition) at Receiver determination level in ID part?
Yes, you can use context objects and then select fileName, I'm not sure if you'll be able to use the extended xpath conditions. Probably that approach is limited to the approximately equals, equals, not equals condition.
Corrections are welcome
Hope this helps,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dasika
can I use wild card declaration for the file name
you can use wild card in file name while declaring the condition....for me ABCFile_XYZ* worked in an interface while defining condition in RD
You need to select the Contains Pattern option in the dropdown for middle operator.
Edited by: abhishek salvi on Apr 27, 2011 5:20 PM
Hi,
U can try this -
Use enhance receiver determination and inside receiver determination mapping u get the file name of sender communication channel - and based on file name u map the Business system name to service tag of receiver target structure.
Refer this blog for more info.
/people/venkataramanan.parameswaran/blog/2006/03/17/illustration-of-enhanced-receiver-determination--sp16
thanks
chirag
Edited by: Chirag Gohil on Apr 27, 2011 5:01 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
yes, it is possible.
In the receiver determination, in the condition channel, use the Technical context object 'FileName' for file adapter.
Follow the below path:
Goto Receiver Detrmination --> Condition --> Left Operand f1 Help --> select first option 'Context Object' --> 1 List will be popped up --> Select FileName for File adapter from that list
It will route the file based on filename.
-Supriya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.