In order to add support for protocol such as Secure FTP over SSL and SSH, which could be
implemented using either open or closed source implementation. We need flexibility to
extend and configure the bus to support any of these implementations.
We discussed with Esteban to start with the following approach:
Create an Interface based on the existing FtpClientUtil
core/rosetta/src/org/jboss/soa/esb/util/RemoteFileSystem.java
Create a Factory
core/rosetta/src/org/jboss/soa/esb/util/RemoteFileSystemFactory.java
Implementation in the internal package
Regular FTP: core/rosetta/src/org/jboss/internal/soa/esb/util/EdtFtpImpl.java
Secure FTP [over ssh]: core/rosetta/src/org/jboss/internal/soa/esb/util/JSchFtpImpl.java
Others...
update action classes to use the RemoteFileSystem factory
core/listeners/src/org/jboss/soa/esb/actions/FtpUploader.java
| core/listeners/src/org/jboss/soa/esb/actions/FtpDownloader.java
I will check these in the workspace.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983580#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...