oscerd commented on PR #29840:
URL: https://github.com/apache/camel/pull/29840#issuecomment-7095376882

   Pushed `CAMEL-26843: The consumer starts an unstarted checkpoint repository 
and stops what it started; the page's Java tab holds its route` (ac463d5ace61):
   
   1. **Doc tabs.** The Java route now sits inside the `Java::` tab, closed 
before `YAML::`, and the orphaned lines after `====` are gone. The YAML uses 
the canonical `simple: expression: "${body}"` and `to: uri: direct:applyChange` 
form. The catalog copy of the page is regenerated.
   2. **Repository lifecycle.** `OpenFgaConsumer.doStart()` starts a 
`checkpointRepository` that is a `ServiceSupport` and not started yet, before 
the scheduler can poll, and `doStop()` stops and shuts down only a repository 
it started, the way camel-kafka handles `offsetRepository` and camel-mongodb 
`changeStreamTokenRepository`. A repository the application started stays under 
the application's control. 
`OpenFgaConsumerTest.startsAnUnstartedFileRepositoryAndResumesFromItsCheckpointAfterARestart`
 uses a `@TempDir` `FileStateRepository`: the first consumer starts it, polls 
and stops it; a fresh, unstarted repository on the same file then resumes from 
`cursor-1` instead of `startTime`. 
`leavesARepositoryTheApplicationStartedRunning` covers the other case. The 
option description and the page say so; the component JSON and the catalog copy 
are regenerated, and the DSL factories follow from the CI regen step.
   
   `changePollTimeout` stays at the explicit 30s. On the merge order: agreed, 
this one and #29837 first, then one rebase of #29841.
   
   Locally: 214 camel-openfga unit tests and the 23 live OpenFGA integration 
tests pass; formatter and import sorting clean.
   
   _Claude Code on behalf of oscerd_
   


-- 
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