This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push: new 1d3a2df Polished docs 1d3a2df is described below commit 1d3a2df46f593175f3acf713cabcbe12fd4512e8 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Mon Nov 15 09:44:40 2021 +0100 Polished docs --- .../src/main/docs/modules/eips/pages/pollEnrich-eip.adoc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/core/camel-core-engine/src/main/docs/modules/eips/pages/pollEnrich-eip.adoc b/core/camel-core-engine/src/main/docs/modules/eips/pages/pollEnrich-eip.adoc index 04de57e..65ad333 100644 --- a/core/camel-core-engine/src/main/docs/modules/eips/pages/pollEnrich-eip.adoc +++ b/core/camel-core-engine/src/main/docs/modules/eips/pages/pollEnrich-eip.adoc @@ -136,14 +136,16 @@ for example download a file from xref:ROOT:aws2-s3-component.adoc[AWS S3] as the <description>Report REST API</description> <get uri="/{id}/payload"> <route id="report-payload-download"> - <pollEnrich id="pollEnrich"> - <simple>aws-s3:xavier-dev?amazonS3Client=#s3client&deleteAfterRead=false&fileName=report-file.pdf</simple> + <pollEnrich> + <constant>aws-s3:xavier-dev?amazonS3Client=#s3client&deleteAfterRead=false&fileName=report-file.pdf</constant> </pollEnrich> </route> </get> </rest> ---- +Notice that the enriched endpoint is a constant, however Camel also supports dynamic endpoints which is covered next. + === Poll Enrich with Dynamic Endpoints Both `enrich` and `pollEnrich` supports using dynamic uris computed based on information from the current `Exchange`.