gnodet opened a new pull request, #31352: URL: https://github.com/apache/camel/pull/31352
## Summary Fixes CAMEL-27962: camel-smooks endpoint options are bound to processor only; lazyStartProducer needs to be exposed on endpoint. The `lazyStartProducer` option was incorrectly being bound to `SmooksProcessor` instead of `SmooksEndpoint`. When creating an endpoint, the `SmooksComponent` calls `setProperties()` on the processor first, which consumed the `lazyStartProducer` parameter before the endpoint could receive it. ## Changes - Removed the public `lazyStartProducer` field and getter/setter from `SmooksProcessor` - Added a package-private `lazyStart` field with a package-private setter in `SmooksProcessor` - The endpoint now passes its `lazyStartProducer` value (inherited from `DefaultEndpoint`) to the processor before starting it - Added `SmooksLazyStartProducerTest` to verify the fix works correctly ## Test Plan New test `SmooksLazyStartProducerTest` verifies that: - Setting `lazyStartProducer=true` on the endpoint URI correctly sets the endpoint property - Setting `lazyStartProducer=false` on the endpoint URI correctly sets the endpoint property - The default value (false) is used when not specified Existing tests continue to pass. --- _Claude Code on behalf of Guillaume Nodet_ 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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]
