You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
garyrussell edited this page Apr 14, 2012
·
29 revisions
###spring-integration-remote Session Interface
The interface is used by FTP and SFTP modules; in 2.2 a new method was added
String[] listNames(String path);
This method was introduced in 2.1.1 on a temporary sub-interface
ExtendedSession<F>
to avoid breaking any user implementations.
This interface has now been removed and the method moved to
Session<F>
Any user Session implementations must implement this method, to return a simple array of Strings, containing the file names matched to the path. This method is used by the mget command.
###TCP Default Socket Timeout
Previously, when using a client connection factory with both outbound and inbound adapters, sockets created by that factory would get a default socket timeout of 10 seconds. This could be overridden by specifying a large timeout (2.0) or 0 (2.1).
In 2.2 and above, these sockets now get a default timeout of 0 (infinity). If you wish to restore the previous behavior, explicitly set the so-timeout attribute to 10000.
Note that single-use sockets created by a server connection factory continue to be configured with the default of 10 seconds if the so-timeout attribute is not configured.