ammachado opened a new pull request, #23127: URL: https://github.com/apache/camel/pull/23127
# Description Introduce `ContentCacheAware` SPI so resource-based components can opt into having their content cache set to false when `camel.main.routesReloadEnabled` is set to `true` (set automatically by `camel run --dev`). A new `DevModeContentCacheStrategy` applies the setting on component registration, and explicit user settings on the component, endpoint or URI are always respected. `camel-xslt` is the first adopter: `XsltComponent` now implements `ContentCacheAware` and stores `contentCache` as a Boolean (null = unset). Other resource-based components can be migrated in a follow-up. Co-Authored-By: Claude Opus 4.7 <[email protected]> # Target - [x] I checked that the commit is targeting the correct branch (Camel 4 uses the `main` branch) # Tracking - [x] If this is a large change, bug fix, or code improvement, I checked there is a [JIRA issue](https://issues.apache.org/jira/browse/CAMEL) filed for the change (usually before you start working on it). # Apache Camel coding standards and style - [x] I checked that each commit in the pull request has a meaningful subject line and body. - [x] I have run `mvn clean install -DskipTests` locally from root folder and I have committed all auto-generated changes. -- 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]
