Skip to Content
0
Jan 21, 2011 at 02:42 PM

Receiver File adapter: dynamic folder name based on file name

713 Views

Hi there,

is it possible to set up one communication channel that will use different target folders based on file name?

E.g.

File abcdef will be saved to /root/abcdef/abcdef or /root/abcdef/abcdef.txt

File xyz will go to /root/xyz/xyz or /root/xyz/xyz.txt

I know I could use Sender/Receiver Service, Interface/namespace or data from message for variable substitution but could not find an easier solution for this scenario than to create multiple communication channels.

Thanks.