on 01-24-2012 8:42 AM
Hi,
I would like to be able to set the filename in an SFTP sender communication channel (based upon a name determined at runtime, which is read from another file).
My understanding is that parameters set in dynamic configuration can only be set as part of mapping therefore I cannot see how to set these before my sender communication channel is invoked.
Please can someone confirm if there is a method of achieving this requirement.
Thanks,
Alan
Hi Alan,
dynamic configuration is not providing sucsess here as your process is started by the sftp adapter.
William Li described in his 3 part blog
[Directory API Development - Part 1 of 3|https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/11655] [original link is broken] [original link is broken] [original link is broken];
how to configure and control adapter properties during runtime by another interface/process.
Regards,
Udo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
>>>My understanding is that parameters set in dynamic configuration can only be set as part of mapping therefore I cannot see how to set these before my sender communication channel is invoked.
they can be set anywhere in the message flow - in adapter modules too for example
>>>I would like to be able to set the filename in an SFTP sender communication channe
you cannot set it before the adapter starts polling from anything else
what you can do is to create a file -> java proxy (sftp) - anything flow
read this another file first -> call SFTP from a java proxy in a sync way to fetch the second file using the name from the first one -> do anything else what you need
you can also do the same with one adapter - axis (put the file fetching and sftp call inside one class)
but it requires some java knowledge - but it would work in one sender adapter in this case
Regards,
Michal Krawczyk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.