davsclaus opened a new pull request, #23681:
URL: https://github.com/apache/camel/pull/23681

   ## Summary
   
   - When using `--stub=kafka` (or other components), if 
`application.properties` contains component-level configuration like 
`camel.component.kafka.brokers=localhost:9092`, the stub component does not 
have those properties and a `PropertyBindingException` (NPE) is thrown.
   - Stub mode now gracefully ignores property bindings for stubbed components 
by disabling fail-fast when the target is a `StubComponent`.
   - Also fixed a latent NPE in `MainHelper` where `e.getCause()` could be null 
when re-throwing an enriched `PropertyBindingException`.
   
   ## Test plan
   
   - [ ] Run with `camel run --stub=kafka` and 
`camel.component.kafka.brokers=localhost:9092` in properties — should no longer 
throw
   - [ ] Run existing `camel-main` tests — all pass
   
   _Claude Code on behalf of Claus Ibsen_


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