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

   ## What
   
   Fix a copy-paste error in `MiloClientConfiguration` where 
`getMaxPendingPublishRequests()` was called instead of 
`getMaxResponseMessageSize()` when configuring the OPC UA client's max response 
message size.
   
   ## Why
   
   The OPC UA client's `maxResponseMessageSize` is set to the value of 
`maxPendingPublishRequests` instead of `maxResponseMessageSize`. This applies 
the wrong value to the message size limit — for example, if 
`maxPendingPublishRequests` is 10, the max response size would be set to 10 
bytes instead of the intended limit.
   
   ## Fix
   
   Change `configuration.getMaxPendingPublishRequests()` to 
`configuration.getMaxResponseMessageSize()` on line 464.
   
   Found via static analysis (Coverity `COPY_PASTE_ERROR` checker).


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