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

   # Description
   
   In camel cxf, for example, when maxCacheSize=0 the context startup fails 
with `java.lang.IllegalArgumentException: The maximum cache size must be 
greater than 0`.
   
   * Add validation in setters and factory methods to reject cache size <= 0 
with a clear `IllegalArgumentException`, instead of failing later in 
`SimpleLRUCache`
   * Add defensive guards in core internal classes (`AbstractDynamicRegistry`, 
`DefaultRuntimeEndpointRegistry`, `DefaultEndpointUtilizationStatistics`)
   * Update `@UriParam`/`@Metadata` descriptions to document the constraint


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