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 5d48a6b0a7a CAMEL-22333 netty additional bootstrap channel options can
be set on producer endpoints
5d48a6b0a7a is described below
commit 5d48a6b0a7a4f456f0127da34e2ef42ff6e53caf
Author: Claus Ibsen <[email protected]>
AuthorDate: Fri Aug 15 08:59:31 2025 +0200
CAMEL-22333 netty additional bootstrap channel options can be set on
producer endpoints
---
.../dsl/NettyComponentBuilderFactory.java | 34 +++++++++++-----------
.../dsl/NettyHttpComponentBuilderFactory.java | 34 +++++++++++-----------
2 files changed, 34 insertions(+), 34 deletions(-)
diff --git
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/NettyComponentBuilderFactory.java
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/NettyComponentBuilderFactory.java
index 7b8093599f2..7e0bd8c6e24 100644
---
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/NettyComponentBuilderFactory.java
+++
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/NettyComponentBuilderFactory.java
@@ -179,6 +179,22 @@ public interface NettyComponentBuilderFactory {
return this;
}
+ /**
+ * When using UDP then this option can be used to specify a network
+ * interface by its name, such as eth0 to join a multicast group.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: common (advanced)
+ *
+ * @param networkInterface the value to set
+ * @return the dsl builder
+ */
+ default NettyComponentBuilder networkInterface(java.lang.String
networkInterface) {
+ doSetProperty("networkInterface", networkInterface);
+ return this;
+ }
+
/**
* Allows for bridging the consumer to the Camel routing Error Handler,
@@ -407,22 +423,6 @@ public interface NettyComponentBuilderFactory {
return this;
}
- /**
- * When using UDP then this option can be used to specify a network
- * interface by its name, such as eth0 to join a multicast group.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: consumer (advanced)
- *
- * @param networkInterface the value to set
- * @return the dsl builder
- */
- default NettyComponentBuilder networkInterface(java.lang.String
networkInterface) {
- doSetProperty("networkInterface", networkInterface);
- return this;
- }
-
/**
* If sync is enabled this option dictates NettyConsumer which logging
@@ -1513,6 +1513,7 @@ public interface NettyComponentBuilderFactory {
case "reuseChannel": getOrCreateConfiguration((NettyComponent)
component).setReuseChannel((boolean) value); return true;
case "sync": getOrCreateConfiguration((NettyComponent)
component).setSync((boolean) value); return true;
case "tcpNoDelay": getOrCreateConfiguration((NettyComponent)
component).setTcpNoDelay((boolean) value); return true;
+ case "networkInterface": getOrCreateConfiguration((NettyComponent)
component).setNetworkInterface((java.lang.String) value); return true;
case "bridgeErrorHandler": ((NettyComponent)
component).setBridgeErrorHandler((boolean) value); return true;
case "clientMode": getOrCreateConfiguration((NettyComponent)
component).setClientMode((boolean) value); return true;
case "reconnect": getOrCreateConfiguration((NettyComponent)
component).setReconnect((boolean) value); return true;
@@ -1525,7 +1526,6 @@ public interface NettyComponentBuilderFactory {
case "executorService": ((NettyComponent)
component).setExecutorService((io.netty.util.concurrent.EventExecutorGroup)
value); return true;
case "maximumPoolSize": ((NettyComponent)
component).setMaximumPoolSize((int) value); return true;
case "nettyServerBootstrapFactory":
getOrCreateConfiguration((NettyComponent)
component).setNettyServerBootstrapFactory((org.apache.camel.component.netty.NettyServerBootstrapFactory)
value); return true;
- case "networkInterface": getOrCreateConfiguration((NettyComponent)
component).setNetworkInterface((java.lang.String) value); return true;
case "noReplyLogLevel": getOrCreateConfiguration((NettyComponent)
component).setNoReplyLogLevel((org.apache.camel.LoggingLevel) value); return
true;
case "serverClosedChannelExceptionCaughtLogLevel":
getOrCreateConfiguration((NettyComponent)
component).setServerClosedChannelExceptionCaughtLogLevel((org.apache.camel.LoggingLevel)
value); return true;
case "serverExceptionCaughtLogLevel":
getOrCreateConfiguration((NettyComponent)
component).setServerExceptionCaughtLogLevel((org.apache.camel.LoggingLevel)
value); return true;
diff --git
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/NettyHttpComponentBuilderFactory.java
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/NettyHttpComponentBuilderFactory.java
index e6b1b5c8f06..74328e3dcac 100644
---
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/NettyHttpComponentBuilderFactory.java
+++
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/NettyHttpComponentBuilderFactory.java
@@ -179,6 +179,22 @@ public interface NettyHttpComponentBuilderFactory {
return this;
}
+ /**
+ * When using UDP then this option can be used to specify a network
+ * interface by its name, such as eth0 to join a multicast group.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: common (advanced)
+ *
+ * @param networkInterface the value to set
+ * @return the dsl builder
+ */
+ default NettyHttpComponentBuilder networkInterface(java.lang.String
networkInterface) {
+ doSetProperty("networkInterface", networkInterface);
+ return this;
+ }
+
/**
* Allows for bridging the consumer to the Camel routing Error Handler,
@@ -425,22 +441,6 @@ public interface NettyHttpComponentBuilderFactory {
return this;
}
- /**
- * When using UDP then this option can be used to specify a network
- * interface by its name, such as eth0 to join a multicast group.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: consumer (advanced)
- *
- * @param networkInterface the value to set
- * @return the dsl builder
- */
- default NettyHttpComponentBuilder networkInterface(java.lang.String
networkInterface) {
- doSetProperty("networkInterface", networkInterface);
- return this;
- }
-
/**
* If sync is enabled this option dictates NettyConsumer which logging
@@ -1585,6 +1585,7 @@ public interface NettyHttpComponentBuilderFactory {
case "reuseChannel": getOrCreateConfiguration((NettyHttpComponent)
component).setReuseChannel((boolean) value); return true;
case "sync": getOrCreateConfiguration((NettyHttpComponent)
component).setSync((boolean) value); return true;
case "tcpNoDelay": getOrCreateConfiguration((NettyHttpComponent)
component).setTcpNoDelay((boolean) value); return true;
+ case "networkInterface":
getOrCreateConfiguration((NettyHttpComponent)
component).setNetworkInterface((java.lang.String) value); return true;
case "bridgeErrorHandler": ((NettyHttpComponent)
component).setBridgeErrorHandler((boolean) value); return true;
case "clientMode": getOrCreateConfiguration((NettyHttpComponent)
component).setClientMode((boolean) value); return true;
case "muteException": ((NettyHttpComponent)
component).setMuteException((boolean) value); return true;
@@ -1598,7 +1599,6 @@ public interface NettyHttpComponentBuilderFactory {
case "executorService": ((NettyHttpComponent)
component).setExecutorService((io.netty.util.concurrent.EventExecutorGroup)
value); return true;
case "maximumPoolSize": ((NettyHttpComponent)
component).setMaximumPoolSize((int) value); return true;
case "nettyServerBootstrapFactory":
getOrCreateConfiguration((NettyHttpComponent)
component).setNettyServerBootstrapFactory((org.apache.camel.component.netty.NettyServerBootstrapFactory)
value); return true;
- case "networkInterface":
getOrCreateConfiguration((NettyHttpComponent)
component).setNetworkInterface((java.lang.String) value); return true;
case "noReplyLogLevel":
getOrCreateConfiguration((NettyHttpComponent)
component).setNoReplyLogLevel((org.apache.camel.LoggingLevel) value); return
true;
case "serverClosedChannelExceptionCaughtLogLevel":
getOrCreateConfiguration((NettyHttpComponent)
component).setServerClosedChannelExceptionCaughtLogLevel((org.apache.camel.LoggingLevel)
value); return true;
case "serverExceptionCaughtLogLevel":
getOrCreateConfiguration((NettyHttpComponent)
component).setServerExceptionCaughtLogLevel((org.apache.camel.LoggingLevel)
value); return true;