Dhairya-007 opened a new pull request, #29471:
URL: https://github.com/apache/camel/pull/29471

   Each of these docs names an endpoint option that the component does not 
have, so copying the example fails with an unknown-parameter error. The correct 
names were taken from the generated catalog for each component.
   
   | Component | Documented | Actual |
   |---|---|---|
   | camel-cometd | `resourceBase` | `baseResource` |
   | camel-mongodb | `tailTrackingIncreasingField` | `tailTrackIncreasingField` 
|
   | camel-timer | `name` | `timerName` |
   | camel-stitch | `schema` | `stitchSchema` |
   | camel-netty | `encoder` / `decoder` | only `encoders` / `decoders` exist |
   
   Two further details:
   
   * The cometd file example was `baseResource=file./webapp`. `CometdComponent` 
splits the value on `:` and reads `resources[1]`, so a value without the 
`file:` prefix throws `ArrayIndexOutOfBoundsException` rather than resolving 
the directory. Corrected to `file:./webapp`; the `classpath:webapp` example was 
already in the right form.
   * For camel-netty the singular `encoder`/`decoder` parameters are gone, so 
the two notes explaining how they interact with `encoders`/`decoders` no longer 
describe anything and are removed.
   
   Docs only, no production code or generated files touched.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to