Temporary remote directory is always the same as the remote directory, but that's not as requested in feature request #6195.
It's because the wrong directory expression processor property is used for generating the temporaryRemoteDirectory variable in org.springframework.integration.file.remote.handler.FileTransferringMessageHandler class line 133.
directoryExpressionProcessor needs to be temporaryDirectoryExpressionProcessor
if (this.temporaryDirectoryExpressionProcessor != null){
temporaryRemoteDirectory = this.directoryExpressionProcessor.processMessage(message);
}
Because an easy fix possible (a one liner), plus the fact that this has been open since February, I am wondering if anyone anyone cares about this Bug at all.
Or perhaps this I am missing something and this change would break something else I don't know about.
In any case, this bug is a blocker for me as I thought I could use this feature and I do hate to patch libraries.
I was hoping it would be fixed in the 2.1.4 but it is still here.
Any chance this change could be done by the next release? Is any more information needed?
Jorn Visser opened INT-2438 and commented
Temporary remote directory is always the same as the remote directory, but that's not as requested in feature request #6195.
It's because the wrong directory expression processor property is used for generating the temporaryRemoteDirectory variable in org.springframework.integration.file.remote.handler.FileTransferringMessageHandler class line 133.
directoryExpressionProcessor needs to be temporaryDirectoryExpressionProcessor
if (this.temporaryDirectoryExpressionProcessor != null){
temporaryRemoteDirectory = this.directoryExpressionProcessor.processMessage(message);
}
Affects: 2.1 GA
Issue Links:
("is duplicated by")
1 votes, 3 watchers
The text was updated successfully, but these errors were encountered: