on 02-06-2010 6:00 AM
Hi All,
If I need to give a file name to the file which is not in the Message Payload , can I use Variable Substitution or Dynamic Configuration?If so can you please explain how?
If not then what is the alternative way to achieve this?
Thanks and regards,
Amol
answered
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You have to use Dynamic Configuration.
If you want to just pass the SourceFileName to the TargetFileName (i.e. both the names shoule be same), then just check the FileName ASMA in the sender as well as receiver channel, no need of a UDF in this case
Regards,
Abhishek.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i would always recommend dynamic configuration. you can run thru my blog - /people/shabarish.vijayakumar/blog/2009/03/26/dynamic-configuration-vs-variable-substitution--the-ultimate-battle-for-the-file-name
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also you can try this blog:
/people/madanmohan.agrawal/blog/2009/05/20/combining-three-different-aspects-of-pi-asma-af-module-and-variable-substitution-in-one-shot
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use Dynamic Configuration. You can then provide any name of your choice. Variable Substitution won't be applicable in this case.
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
check this blog :
/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
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 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.