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

   ## Summary
   
   _Claude Code on behalf of Andrea Cosentino_
   
   - Add warning log when `skipTlsVerify` is enabled to alert operators that 
TLS verification is disabled
   - Replace generic `RuntimeException` with `RuntimeCamelException` for proper 
Camel error handling
   - Log error response body at DEBUG level for easier debugging of Splunk HEC 
failures
   - Consume response entity on success path to prevent potential connection 
leaks
   - Add unit tests for error handling behavior (3 new tests)
   
   Fixes: https://issues.apache.org/jira/browse/CAMEL-23295
   
   ## Test plan
   
   - [x] All existing tests pass (31 tests, 0 failures)
   - [x] New `SplunkHECProducerTest` verifies `RuntimeCamelException` is thrown 
on 400, 401, and 503 responses
   - [x] Verified exception type is `RuntimeCamelException` (not 
`RuntimeException`)
   
   
   🤖 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]

Reply via email to