File to string transformer
Transforms file messages to string messages
Delete files
Specify whether to delete source files after transforming them.
This will only take effect if the Message payload is the actual source File instance or if the original File instance (or its path) is available in the header.
Default: false
Charset
Character set to be used for reading the file contents into a string.
Default is UTF-8
.
The supported encodings vary between different implementations of the Java platform, however the following encodings should always be available on any implementation: US-ASCII, ISO-8859-1, UTF-8, UTF-16BE, UTF-16LE, UTF-16.
A list of the supported encodings in the Sun/Oracle Java 6 SE runtime environment can be found here.
Additionally, eMagiz contains build-in support for the following two encodings:
- x-UTF-8-BOM (eight-bit Unicode Transformation Format, with byte-order mark)
- x-UTF-16BE-BOM (sixteen-bit UTF, big-endian byte order, with byte-order mark)
Output channel
Channel where output messages should be sent after (successfully) processing the input message.
You can select the nullChannel
here to silently drop the output messages.
Required
Input channel
Channel to consume the input messages from.
Required
Id
Name that uniquely identifies this flow component.
Required