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

   # Description
   
   Configure an explicit 3-second `ConnectionTimeout` and `ReceiveTimeout` on 
the `CxfProducer` endpoint in `FailOverFeatureTest`.
   
   ### Root Cause
   Without explicit timeouts, `HTTPConduit` uses default timeouts (60s receive, 
~30-75s connect). When `FailOverFeatureTest` sends a request to the initial 
non-existent address (`NONE_EXIST_ADDRESS`) and TCP packets are dropped or 
unacknowledged:
   - The conduit waits for the default 60s receive timeout / TCP timeout.
   - The `CxfConsumer` continuation timeout is only 30s.
   - The consumer continuation times out first at 30s with 
`ExchangeTimedOutException` and returns a SOAP Fault (`"Exchange processing 
failed"`).
   - The test eventually fails after ~1m15s.
   
   ### Fix
   Setting an explicit 3s `ConnectionTimeout` and `ReceiveTimeout` via 
`CxfConfigurer` on the producer ensures that connection failures time out fast 
(within 3s), triggering `FailoverFeature` to switch to `SERVICE_ADDRESS` well 
before the 30s consumer continuation expires.
   
   _IBM Bob on behalf of @apupier_


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