INT-3763: (S)FTP - Inbound Remote Dir. Expression
JIRA: https://jira.spring.io/browse/INT-3763 Fix `AbstractRemoteFileSynchronizerTests` according to this change.
This commit is contained in:
committed by
Artem Bilan
parent
5a9b898635
commit
c68c7b3412
@@ -154,6 +154,10 @@ So, the root object of the SpEL Evaluation Context is the original name of the r
|
||||
|
||||
Starting with _Spring Integration 3.0_, you can specify the `preserve-timestamp` attribute (default `false`); when `true`, the local file's modified timestamp will be set to the value retrieved from the server; otherwise it will be set to the current time.
|
||||
|
||||
Starting with _version 4.2_, you can specify `remote-directory-expression` instead of `remote-directory`, allowing
|
||||
you to dynamically determine the directory on each poll.
|
||||
e.g `remote-directory-expression="@myBean.determineRemoteDir()"`.
|
||||
|
||||
Sometimes file filtering based on the simple pattern specified via `filename-pattern` attribute might not be sufficient.
|
||||
If this is the case, you can use the `filename-regex` attribute to specify a Regular Expression (e.g.
|
||||
`filename-regex=".*\.test$"`).
|
||||
|
||||
@@ -240,6 +240,10 @@ So, the root object of the SpEL Evaluation Context is the original name of the r
|
||||
|
||||
Starting with _Spring Integration 3.0_, you can specify the `preserve-timestamp` attribute (default `false`); when `true`, the local file's modified timestamp will be set to the value retrieved from the server; otherwise it will be set to the current time.
|
||||
|
||||
Starting with _version 4.2_, you can specify `remote-directory-expression` instead of `remote-directory`, allowing
|
||||
you to dynamically determine the directory on each poll.
|
||||
e.g `remote-directory-expression="@myBean.determineRemoteDir()"`.
|
||||
|
||||
Sometimes file filtering based on the simple pattern specified via `filename-pattern` attribute might not be sufficient.
|
||||
If this is the case, you can use the `filename-regex` attribute to specify a Regular Expression (e.g.
|
||||
`filename-regex=".*\.test$"`).
|
||||
|
||||
@@ -207,3 +207,9 @@ In addition, a `SimpleMessageGroupProcessor` is provided that simply returns the
|
||||
When an output processor produces a collection of `Message<?>`, the aggregator releases those messages individually.
|
||||
Configuring the `SimpleMessageGroupProcessor` makes the aggregator a message barrier, were messages are held up
|
||||
until they all arrive, and are then released individually. See <<aggregator>> for more information.
|
||||
|
||||
==== (S)FTP Changes
|
||||
|
||||
You can now specify a `remote-directory-expression` on the inbound channel adapters, to determine the directory
|
||||
at runtime.
|
||||
See <<ftp>> and <<sftp>> for more information.
|
||||
|
||||
Reference in New Issue
Block a user