public class FileSplitterSpec extends MessageHandlerSpec<FileSplitterSpec,FileSplitter>
MessageHandlerSpec for the FileSplitter.logger, PARSER, target| Modifier and Type | Method and Description |
|---|---|
FileSplitterSpec |
applySequence(boolean applySequence)
A
boolean flag to indicate if sequenceDetails should be
applied for messages based on the lines from file. |
FileSplitterSpec |
charset(Charset charset)
Set the charset to be used when reading the file, when something other than the default
charset is required.
|
FileSplitterSpec |
charset(String charset)
Set the charset to be used when reading the file, when something other than the default
charset is required.
|
protected FileSplitter |
doGet() |
FileSplitterSpec |
markers()
|
FileSplitterSpec |
markers(boolean asJson)
Specify if
FileSplitter should emit
FileSplitter.FileMarkers
and if they should be converted to the JSON string representation. |
_this, get, getId, getObject, getObjectType, id, isSingletonpublic FileSplitterSpec charset(String charset)
charset - the charset.public FileSplitterSpec charset(Charset charset)
charset - the charset.public FileSplitterSpec markers()
FileSplitterpublic FileSplitterSpec markers(boolean asJson)
FileSplitter should emit
FileSplitter.FileMarkers
and if they should be converted to the JSON string representation.
Defaults to false for markers and false for markersJson.asJson - the asJson flag to use.FileSplitterpublic FileSplitterSpec applySequence(boolean applySequence)
boolean flag to indicate if sequenceDetails should be
applied for messages based on the lines from file.
Defaults to false.applySequence - the applySequence flag to use.AbstractMessageSplitter.setApplySequence(boolean)protected FileSplitter doGet()
doGet in class IntegrationComponentSpec<FileSplitterSpec,FileSplitter>