This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new a63155f616db Fix copy-paste error in camel-milo
MiloClientConfiguration (#23174)
a63155f616db is described below
commit a63155f616db4ecabbfe80b67cef46fd0eb5c512
Author: Ted Won <[email protected]>
AuthorDate: Wed May 13 15:28:08 2026 +1000
Fix copy-paste error in camel-milo MiloClientConfiguration (#23174)
MiloClientConfiguration used getMaxPendingPublishRequests() instead of
getMaxResponseMessageSize() when configuring the OPC UA client's max
response message size, applying the wrong value to the size limit.
---
.../org/apache/camel/component/milo/client/MiloClientConfiguration.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/components/camel-milo/src/main/java/org/apache/camel/component/milo/client/MiloClientConfiguration.java
b/components/camel-milo/src/main/java/org/apache/camel/component/milo/client/MiloClientConfiguration.java
index b7ae50eaa43d..f5649a94fdd8 100644
---
a/components/camel-milo/src/main/java/org/apache/camel/component/milo/client/MiloClientConfiguration.java
+++
b/components/camel-milo/src/main/java/org/apache/camel/component/milo/client/MiloClientConfiguration.java
@@ -461,7 +461,7 @@ public class MiloClientConfiguration implements Cloneable {
}
if (configuration.getMaxResponseMessageSize() != null) {
-
builder.setMaxResponseMessageSize(UInteger.valueOf(configuration.getMaxPendingPublishRequests()));
+
builder.setMaxResponseMessageSize(UInteger.valueOf(configuration.getMaxResponseMessageSize()));
}
if (configuration.getKeyStoreUrl() != null) {