This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
commit a7c5bfdc2979cb37fcaf5275a95291935493f2e3 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Fri Jan 24 17:18:38 2020 +0100 Regen --- docs/components/modules/ROOT/nav.adoc | 2 +- docs/components/modules/ROOT/pages/file-watch-component.adoc | 9 +++++---- docs/components/modules/ROOT/pages/mail-component.adoc | 9 +++++++++ 3 files changed, 15 insertions(+), 5 deletions(-) diff --git a/docs/components/modules/ROOT/nav.adoc b/docs/components/modules/ROOT/nav.adoc index a470e6f..38c3c16 100644 --- a/docs/components/modules/ROOT/nav.adoc +++ b/docs/components/modules/ROOT/nav.adoc @@ -114,7 +114,7 @@ * xref:fhir-component.adoc[FHIR Component] * xref:fhirJson-dataformat.adoc[FHIR JSon DataFormat] * xref:fhirXml-dataformat.adoc[FHIR XML DataFormat] -* xref:file-watch-component.adoc[file-watch Component] +* xref:file-watch-component.adoc[File Watch Component] * xref:file-component.adoc[File Component] * xref:flatpack-component.adoc[Flatpack Component] * xref:flatpack-dataformat.adoc[Flatpack DataFormat] diff --git a/docs/components/modules/ROOT/pages/file-watch-component.adoc b/docs/components/modules/ROOT/pages/file-watch-component.adoc index 7068e3c..d462dac 100644 --- a/docs/components/modules/ROOT/pages/file-watch-component.adoc +++ b/docs/components/modules/ROOT/pages/file-watch-component.adoc @@ -1,8 +1,9 @@ -[[file-watch-component]] -= file-watch Component += File Watch Component :page-source: components/camel-file-watch/src/main/docs/file-watch-component.adoc *Since Camel 3.0* +*Since Camel 3.0* + // HEADER START *Only consumer is supported* @@ -13,7 +14,7 @@ This component can be used to watch file modification events in folder. It is ba == URI Options // component options: START -The file-watch component supports 7 options, which are listed below. +The File Watch component supports 7 options, which are listed below. @@ -32,7 +33,7 @@ The file-watch component supports 7 options, which are listed below. // endpoint options: START -The file-watch endpoint is configured using URI syntax: +The File Watch endpoint is configured using URI syntax: ---- file-watch:path diff --git a/docs/components/modules/ROOT/pages/mail-component.adoc b/docs/components/modules/ROOT/pages/mail-component.adoc index 6a26e72..c95dc27 100644 --- a/docs/components/modules/ROOT/pages/mail-component.adoc +++ b/docs/components/modules/ROOT/pages/mail-component.adoc @@ -743,3 +743,12 @@ builder.unseen().body(Op.not, "Spam").subject(Op.not, "Spam") SearchTerm term = builder.build(); -------------------------------------------------------------- + +== Polling Optimization + +*Since Camel 3.1* + +The parameter maxMessagePerPoll and fetchSize allow you to restrict the number message that should be processed for each poll. +These parameters should help to prevent bad performance when working with folders that contain a lot of messages. +In previous versions these parameters have been evaluated too late, so that big mailboxes could still cause performance problems. +With Camel 3.1 these parameters are evaluated earlier during the poll to avoid these problems. \ No newline at end of file