This content has been marked as final. Show 2 replies
I think it's unlikely you can achieve this by the way FtpAdapter is configured, it's done via deployment plan, so it is at deployment time.
It seems like you need something able to be aware of modifications at run time, maybe if you can find the FtpAdapter mbean there may be something you can do at runtime.
But I tend to think that SFTP servers don't appear and disappear overnight, so it wouldn't worth the effort to build something that wouldn't change that often.
A bulb glowed over my head last night, my requirement is to have one Adapter at design time and poin it for several location at run time.
So when we pass JNDI Name dynamically i will be able to achieve that.