Claus Ibsen created CAMEL-26592:
-----------------------------------
Summary: camel-core - the apiContextPath description says it
serves the API documentation, and the pollEnrich docs read the same file again
Key: CAMEL-26592
URL: https://issues.apache.org/jira/browse/CAMEL-26592
Project: Camel
Issue Type: Improvement
Components: rest, documentation, camel-core
Reporter: Claus Ibsen
Fix For: 4.24.0
* restConfiguration apiContextPath: "Sets a leading context-path the REST API
will be using." does not say what it does: the path where the REST DSL serves
the API documentation (the OpenAPI document) that it generates, which needs
camel-openapi-java. In the local-model benchmark (rest-code-first step 3: serve
the OpenAPI document), the models looked up this option 6 and 23 times and did
not use it.
* The pollEnrich EIP page, "Poll Enrich with Dynamic Endpoints", reads a file
per customer with noop=true. With noop=true alone, the file endpoint is
idempotent, so the next message for the same customer does not find the file
again, and pollEnrich waits forever with its default timeout -1. The example
should use idempotent=false and a timeout. Found in the review of CAMEL-26568.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)