From 71d9f173e81d85f1b5952363a86c5af3fd7c5e50 Mon Sep 17 00:00:00 2001 From: Gary Russell Date: Tue, 27 Jun 2017 13:18:38 -0400 Subject: [PATCH] Doc Polishing --- src/reference/asciidoc/file.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reference/asciidoc/file.adoc b/src/reference/asciidoc/file.adoc index 30b1b40ea5..44aa51e32d 100644 --- a/src/reference/asciidoc/file.adoc +++ b/src/reference/asciidoc/file.adoc @@ -985,7 +985,7 @@ Starting with _version 5.0_, the `firstLineAsHeader` option is introduced to spe The argument passed to this property is the header name under which the first line will be carried as a header in the messages emitted for the remaining lines. This line is not included in the sequence header (if `applySequence` is true) nor in the `FileMarker.END` `lineCount`. If file contains only the header line, the file is treated as empty and therefore only `FileMarker` s are emitted during splitting (if markers are enabled, otherwise no messages are emitted). -By default (if no header name is set), the first line is considered data and will be the payload of the first emitted message. +By default (if no header name is set), the first line is considered to be data and will be the payload of the first emitted message. If you need more complex logic about headers extraction from the file content (not first line, not the whole content of the line, not one header etc.), consider to use <> upfront of the `FileSplitter`. The lines which have been moved to the headers might be filtered downstream from the normal content process.