INT-1482 charset value is now being set for bothFtpSendingMessageHandler and SftpSendingMessageHandler

This commit is contained in:
Mark Fisher
2010-10-11 22:05:54 -04:00
parent f3be8bebde
commit a4f05cef0e
4 changed files with 11 additions and 4 deletions

View File

@@ -71,9 +71,10 @@ public class FtpSendingMessageHandlerFactoryBean extends AbstractFactoryBean<Ftp
defaultFtpClientFactory);
FtpSendingMessageHandler ftpSendingMessageHandler = new FtpSendingMessageHandler(queuedFtpClientPool);
ftpSendingMessageHandler.setCharset( this.charset);
if (this.charset != null) {
ftpSendingMessageHandler.setCharset(this.charset);
}
ftpSendingMessageHandler.afterPropertiesSet();
return ftpSendingMessageHandler;
}