Configures an inbound Channel Adapter that polls a directory and sends Messages whose payloads are
instances of java.io.File.
element. Therefore, if the "channel" attribute
is not provided, then the "id" attribute is required.
]]>
Lifecycle attribute signaling if this component should be started during Application Context startup.
Specify whether to automatically create the source directory if it does not yet exist when this
adapter is being initialized. The default value is 'true'. If set to 'false' and the directory
does not exist upon initialization, an Exception will be thrown.
Specify the maximum number of files stored in memory by the underlying FileReadingMessageSource.
This is useful to limit the memory footprint of this endpoint. Using a stateful filter would counter
this benefit, so AcceptOnceFileListFilter is not used when this attribute is specified.
MUTUALLY EXCLUSIVE with comparator, if comparator is set this attribute will be ignored.
MUTUALLY EXCLUSIVE with stateful filtering.
Configures an outbound Channel Adapter that writes Message payloads to a File.
The channel through which outgoing messages will arrive.
Configures an outbound Gateway that writes request Message payloads to a File and then generates a
reply Message containing the newly written File as its payload.
The channel through which outgoing messages will arrive.
Allows you to provide a SpEL expression which will compute the file name of
the target file (e.g., assuming payload is java.io.File "payload.name + '.transferred'");
Extension used when uploading files. We change it after we know it's uploaded.
Creates a Transformer that converts a File payload to a String.
Creates a Transformer that converts a File payload to an array of bytes.