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

   _Claude Code on behalf of davsclaus_
   
   ## Summary
   
   The `replyTimeout` option on `SpringRabbitMQComponent` had a default of 
5000ms (5 seconds), while the corresponding `SpringRabbitMQEndpoint` option 
documented and declared a default of 30000ms (30 seconds). Since 
`createEndpoint()` unconditionally copies the component value to the endpoint, 
the effective default was always 5 seconds — contradicting the endpoint 
documentation.
   
   This mismatch was introduced in CAMEL-19373 (Jun 2023), which updated the 
endpoint default from 5000 to 30000 to match Spring's `AsyncRabbitTemplate` 
default receive timeout, but did not update the component's default.
   
   ## Changes
   
   - **`SpringRabbitMQComponent.java`**: Changed `replyTimeout` field default 
from `5000` to `30000`, updated `@Metadata(defaultValue)` annotation and 
description text
   - **`SpringRabbitMQComponentTest.java`**: New unit test verifying the 
effective endpoint default is 30000ms after creation through the component
   - Regenerated catalog JSON and component DSL
   
   ## Test plan
   
   - [x] New `SpringRabbitMQComponentTest.testReplyTimeoutDefault()` verifies 
the effective default
   - [x] All existing tests pass (`mvn verify` — 35 tests, 0 failures)


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