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 e60d92235ca CAMEL-22333 netty additional bootstrap channel options can
be set on producer endpoints
e60d92235ca is described below
commit e60d92235ca463fd1b01715f58a717f06c1cb0eb
Author: Claus Ibsen <[email protected]>
AuthorDate: Fri Aug 15 07:55:57 2025 +0200
CAMEL-22333 netty additional bootstrap channel options can be set on
producer endpoints
---
.../camel/catalog/components/netty-http.json | 28 +++++-----
.../org/apache/camel/catalog/components/netty.json | 52 +++++++++----------
.../endpoint/dsl/NettyEndpointBuilderFactory.java | 60 ++++++++++++++++------
3 files changed, 85 insertions(+), 55 deletions(-)
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/netty-http.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/netty-http.json
index 0b17e2980c1..a3e6401094c 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/netty-http.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/netty-http.json
@@ -32,20 +32,20 @@
"reuseChannel": { "index": 4, "kind": "property", "displayName": "Reuse
Channel", "group": "common", "label": "common", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "This option allows producers and consumers (in
client mode) to reuse the same Netty Channel fo [...]
"sync": { "index": 5, "kind": "property", "displayName": "Sync", "group":
"common", "label": "", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": true, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "Setting to set endpoint as one-way (false) or
request-response (true)" },
"tcpNoDelay": { "index": 6, "kind": "property", "displayName": "Tcp No
Delay", "group": "common", "label": "", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "defaultValue": true, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "Setting to improve TCP protocol performance" },
- "bridgeErrorHandler": { "index": 7, "kind": "property", "displayName":
"Bridge Error Handler", "group": "consumer", "label": "consumer", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false, "description":
"Allows for bridging the consumer to the Camel routing Error Handler, which
mean any exceptions (if possible) occurred while the Camel consumer is trying
to pickup incoming messages, or the like [...]
- "clientMode": { "index": 8, "kind": "property", "displayName": "Client
Mode", "group": "consumer", "label": "consumer", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "If the clientMode is true, netty consumer will
connect the address as a TCP client." },
- "muteException": { "index": 9, "kind": "property", "displayName": "Mute
Exception", "group": "consumer", "label": "consumer", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "description": "If enabled and
an Exchange failed processing on the consumer side the response's body won't
contain the exception's stack trace." },
- "reconnect": { "index": 10, "kind": "property", "displayName":
"Reconnect", "group": "consumer", "label": "consumer", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": true, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "Used only in clientMode in consumer, the
consumer will attempt to reconnect on disconnection if t [...]
- "reconnectInterval": { "index": 11, "kind": "property", "displayName":
"Reconnect Interval", "group": "consumer", "label": "consumer", "required":
false, "type": "integer", "javaType": "int", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": 10000, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "Used if reconnect and clientMode is enabled.
The interval in milli seconds to attem [...]
- "backlog": { "index": 12, "kind": "property", "displayName": "Backlog",
"group": "consumer (advanced)", "label": "consumer,advanced", "required":
false, "type": "integer", "javaType": "int", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "Allows to configure a backlog for netty
consumer (server). Note the backlog is just a best effort depending [...]
- "bossCount": { "index": 13, "kind": "property", "displayName": "Boss
Count", "group": "consumer (advanced)", "label": "consumer,advanced",
"required": false, "type": "integer", "javaType": "int", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": 1, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "When netty works on nio mode, it uses default
bossCount parameter from Netty, which [...]
- "bossGroup": { "index": 14, "kind": "property", "displayName": "Boss
Group", "group": "consumer (advanced)", "label": "consumer,advanced",
"required": false, "type": "object", "javaType":
"io.netty.channel.EventLoopGroup", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "Set the BossGroup which could be used for
handling the new connection of th [...]
- "broadcast": { "index": 15, "kind": "property", "displayName":
"Broadcast", "group": "consumer (advanced)", "label": "consumer,advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"configurationClass": "org.apache.camel.component.netty.NettyConfiguration",
"configurationField": "configuration", "description": "Setting to choose
Multicast over UDP" },
- "disconnectOnNoReply": { "index": 16, "kind": "property", "displayName":
"Disconnect On No Reply", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": true, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "If sync is enabled then this option dictates
NettyCons [...]
- "executorService": { "index": 17, "kind": "property", "displayName":
"Executor Service", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "object", "javaType":
"io.netty.util.concurrent.EventExecutorGroup", "deprecated": false,
"autowired": false, "secret": false, "description": "To use the given custom
EventExecutorGroup." },
- "maximumPoolSize": { "index": 18, "kind": "property", "displayName":
"Maximum Pool Size", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "autowired": false, "secret": false, "description": "Sets
a maximum thread pool size for the netty consumer ordered thread pool. The
default size is 2 x cpu_core plus 1. Setting this value to eg 10 will then use
10 threads unless 2 x cpu_core plus 1 is a hig [...]
- "nettyServerBootstrapFactory": { "index": 19, "kind": "property",
"displayName": "Netty Server Bootstrap Factory", "group": "consumer
(advanced)", "label": "consumer,advanced", "required": false, "type": "object",
"javaType": "org.apache.camel.component.netty.NettyServerBootstrapFactory",
"deprecated": false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "To use a [...]
- "networkInterface": { "index": 20, "kind": "property", "displayName":
"Network Interface", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.netty.NettyConfiguration",
"configurationField": "configuration", "description": "When using UDP then this
option can be used to specify a network interface b [...]
+ "networkInterface": { "index": 7, "kind": "property", "displayName":
"Network Interface", "group": "common (advanced)", "label": "common,advanced",
"required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "When using UDP then this option can be used to
specify a network interface by its [...]
+ "bridgeErrorHandler": { "index": 8, "kind": "property", "displayName":
"Bridge Error Handler", "group": "consumer", "label": "consumer", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false, "description":
"Allows for bridging the consumer to the Camel routing Error Handler, which
mean any exceptions (if possible) occurred while the Camel consumer is trying
to pickup incoming messages, or the like [...]
+ "clientMode": { "index": 9, "kind": "property", "displayName": "Client
Mode", "group": "consumer", "label": "consumer", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "If the clientMode is true, netty consumer will
connect the address as a TCP client." },
+ "muteException": { "index": 10, "kind": "property", "displayName": "Mute
Exception", "group": "consumer", "label": "consumer", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": false, "description": "If enabled and
an Exchange failed processing on the consumer side the response's body won't
contain the exception's stack trace." },
+ "reconnect": { "index": 11, "kind": "property", "displayName":
"Reconnect", "group": "consumer", "label": "consumer", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": true, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "Used only in clientMode in consumer, the
consumer will attempt to reconnect on disconnection if t [...]
+ "reconnectInterval": { "index": 12, "kind": "property", "displayName":
"Reconnect Interval", "group": "consumer", "label": "consumer", "required":
false, "type": "integer", "javaType": "int", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": 10000, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "Used if reconnect and clientMode is enabled.
The interval in milli seconds to attem [...]
+ "backlog": { "index": 13, "kind": "property", "displayName": "Backlog",
"group": "consumer (advanced)", "label": "consumer,advanced", "required":
false, "type": "integer", "javaType": "int", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "Allows to configure a backlog for netty
consumer (server). Note the backlog is just a best effort depending [...]
+ "bossCount": { "index": 14, "kind": "property", "displayName": "Boss
Count", "group": "consumer (advanced)", "label": "consumer,advanced",
"required": false, "type": "integer", "javaType": "int", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": 1, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "When netty works on nio mode, it uses default
bossCount parameter from Netty, which [...]
+ "bossGroup": { "index": 15, "kind": "property", "displayName": "Boss
Group", "group": "consumer (advanced)", "label": "consumer,advanced",
"required": false, "type": "object", "javaType":
"io.netty.channel.EventLoopGroup", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "Set the BossGroup which could be used for
handling the new connection of th [...]
+ "broadcast": { "index": 16, "kind": "property", "displayName":
"Broadcast", "group": "consumer (advanced)", "label": "consumer,advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"configurationClass": "org.apache.camel.component.netty.NettyConfiguration",
"configurationField": "configuration", "description": "Setting to choose
Multicast over UDP" },
+ "disconnectOnNoReply": { "index": 17, "kind": "property", "displayName":
"Disconnect On No Reply", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": true, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "If sync is enabled then this option dictates
NettyCons [...]
+ "executorService": { "index": 18, "kind": "property", "displayName":
"Executor Service", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "object", "javaType":
"io.netty.util.concurrent.EventExecutorGroup", "deprecated": false,
"autowired": false, "secret": false, "description": "To use the given custom
EventExecutorGroup." },
+ "maximumPoolSize": { "index": 19, "kind": "property", "displayName":
"Maximum Pool Size", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "autowired": false, "secret": false, "description": "Sets
a maximum thread pool size for the netty consumer ordered thread pool. The
default size is 2 x cpu_core plus 1. Setting this value to eg 10 will then use
10 threads unless 2 x cpu_core plus 1 is a hig [...]
+ "nettyServerBootstrapFactory": { "index": 20, "kind": "property",
"displayName": "Netty Server Bootstrap Factory", "group": "consumer
(advanced)", "label": "consumer,advanced", "required": false, "type": "object",
"javaType": "org.apache.camel.component.netty.NettyServerBootstrapFactory",
"deprecated": false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "To use a [...]
"noReplyLogLevel": { "index": 21, "kind": "property", "displayName": "No
Reply Log Level", "group": "consumer (advanced)", "label": "consumer,advanced",
"required": false, "type": "object", "javaType":
"org.apache.camel.LoggingLevel", "enum": [ "TRACE", "DEBUG", "INFO", "WARN",
"ERROR", "OFF" ], "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "WARN", "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configura [...]
"serverClosedChannelExceptionCaughtLogLevel": { "index": 22, "kind":
"property", "displayName": "Server Closed Channel Exception Caught Log Level",
"group": "consumer (advanced)", "label": "consumer,advanced", "required":
false, "type": "object", "javaType": "org.apache.camel.LoggingLevel", "enum": [
"TRACE", "DEBUG", "INFO", "WARN", "ERROR", "OFF" ], "deprecated": false,
"autowired": false, "secret": false, "defaultValue": "DEBUG",
"configurationClass": "org.apache.camel.component.n [...]
"serverExceptionCaughtLogLevel": { "index": 23, "kind": "property",
"displayName": "Server Exception Caught Log Level", "group": "consumer
(advanced)", "label": "consumer,advanced", "required": false, "type": "object",
"javaType": "org.apache.camel.LoggingLevel", "enum": [ "TRACE", "DEBUG",
"INFO", "WARN", "ERROR", "OFF" ], "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "WARN", "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "co [...]
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/netty.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/netty.json
index e45b4bcfd80..6c3e9272da9 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/netty.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/netty.json
@@ -31,19 +31,19 @@
"reuseChannel": { "index": 4, "kind": "property", "displayName": "Reuse
Channel", "group": "common", "label": "common", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "This option allows producers and consumers (in
client mode) to reuse the same Netty Channel fo [...]
"sync": { "index": 5, "kind": "property", "displayName": "Sync", "group":
"common", "label": "", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": true, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "Setting to set endpoint as one-way (false) or
request-response (true)" },
"tcpNoDelay": { "index": 6, "kind": "property", "displayName": "Tcp No
Delay", "group": "common", "label": "", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "defaultValue": true, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "Setting to improve TCP protocol performance" },
- "bridgeErrorHandler": { "index": 7, "kind": "property", "displayName":
"Bridge Error Handler", "group": "consumer", "label": "consumer", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false, "description":
"Allows for bridging the consumer to the Camel routing Error Handler, which
mean any exceptions (if possible) occurred while the Camel consumer is trying
to pickup incoming messages, or the like [...]
- "clientMode": { "index": 8, "kind": "property", "displayName": "Client
Mode", "group": "consumer", "label": "consumer", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "If the clientMode is true, netty consumer will
connect the address as a TCP client." },
- "reconnect": { "index": 9, "kind": "property", "displayName": "Reconnect",
"group": "consumer", "label": "consumer", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "defaultValue": true, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "Used only in clientMode in consumer, the
consumer will attempt to reconnect on disconnection if th [...]
- "reconnectInterval": { "index": 10, "kind": "property", "displayName":
"Reconnect Interval", "group": "consumer", "label": "consumer", "required":
false, "type": "integer", "javaType": "int", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": 10000, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "Used if reconnect and clientMode is enabled.
The interval in milli seconds to attem [...]
- "backlog": { "index": 11, "kind": "property", "displayName": "Backlog",
"group": "consumer (advanced)", "label": "consumer,advanced", "required":
false, "type": "integer", "javaType": "int", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "Allows to configure a backlog for netty
consumer (server). Note the backlog is just a best effort depending [...]
- "bossCount": { "index": 12, "kind": "property", "displayName": "Boss
Count", "group": "consumer (advanced)", "label": "consumer,advanced",
"required": false, "type": "integer", "javaType": "int", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": 1, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "When netty works on nio mode, it uses default
bossCount parameter from Netty, which [...]
- "bossGroup": { "index": 13, "kind": "property", "displayName": "Boss
Group", "group": "consumer (advanced)", "label": "consumer,advanced",
"required": false, "type": "object", "javaType":
"io.netty.channel.EventLoopGroup", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "Set the BossGroup which could be used for
handling the new connection of th [...]
- "broadcast": { "index": 14, "kind": "property", "displayName":
"Broadcast", "group": "consumer (advanced)", "label": "consumer,advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"configurationClass": "org.apache.camel.component.netty.NettyConfiguration",
"configurationField": "configuration", "description": "Setting to choose
Multicast over UDP" },
- "disconnectOnNoReply": { "index": 15, "kind": "property", "displayName":
"Disconnect On No Reply", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": true, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "If sync is enabled then this option dictates
NettyCons [...]
- "executorService": { "index": 16, "kind": "property", "displayName":
"Executor Service", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "object", "javaType":
"io.netty.util.concurrent.EventExecutorGroup", "deprecated": false,
"autowired": false, "secret": false, "description": "To use the given custom
EventExecutorGroup." },
- "maximumPoolSize": { "index": 17, "kind": "property", "displayName":
"Maximum Pool Size", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "autowired": false, "secret": false, "description": "Sets
a maximum thread pool size for the netty consumer ordered thread pool. The
default size is 2 x cpu_core plus 1. Setting this value to eg 10 will then use
10 threads unless 2 x cpu_core plus 1 is a hig [...]
- "nettyServerBootstrapFactory": { "index": 18, "kind": "property",
"displayName": "Netty Server Bootstrap Factory", "group": "consumer
(advanced)", "label": "consumer,advanced", "required": false, "type": "object",
"javaType": "org.apache.camel.component.netty.NettyServerBootstrapFactory",
"deprecated": false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "To use a [...]
- "networkInterface": { "index": 19, "kind": "property", "displayName":
"Network Interface", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.netty.NettyConfiguration",
"configurationField": "configuration", "description": "When using UDP then this
option can be used to specify a network interface b [...]
+ "networkInterface": { "index": 7, "kind": "property", "displayName":
"Network Interface", "group": "common (advanced)", "label": "common,advanced",
"required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "When using UDP then this option can be used to
specify a network interface by its [...]
+ "bridgeErrorHandler": { "index": 8, "kind": "property", "displayName":
"Bridge Error Handler", "group": "consumer", "label": "consumer", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false, "description":
"Allows for bridging the consumer to the Camel routing Error Handler, which
mean any exceptions (if possible) occurred while the Camel consumer is trying
to pickup incoming messages, or the like [...]
+ "clientMode": { "index": 9, "kind": "property", "displayName": "Client
Mode", "group": "consumer", "label": "consumer", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "If the clientMode is true, netty consumer will
connect the address as a TCP client." },
+ "reconnect": { "index": 10, "kind": "property", "displayName":
"Reconnect", "group": "consumer", "label": "consumer", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": true, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "Used only in clientMode in consumer, the
consumer will attempt to reconnect on disconnection if t [...]
+ "reconnectInterval": { "index": 11, "kind": "property", "displayName":
"Reconnect Interval", "group": "consumer", "label": "consumer", "required":
false, "type": "integer", "javaType": "int", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": 10000, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "Used if reconnect and clientMode is enabled.
The interval in milli seconds to attem [...]
+ "backlog": { "index": 12, "kind": "property", "displayName": "Backlog",
"group": "consumer (advanced)", "label": "consumer,advanced", "required":
false, "type": "integer", "javaType": "int", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "Allows to configure a backlog for netty
consumer (server). Note the backlog is just a best effort depending [...]
+ "bossCount": { "index": 13, "kind": "property", "displayName": "Boss
Count", "group": "consumer (advanced)", "label": "consumer,advanced",
"required": false, "type": "integer", "javaType": "int", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": 1, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "When netty works on nio mode, it uses default
bossCount parameter from Netty, which [...]
+ "bossGroup": { "index": 14, "kind": "property", "displayName": "Boss
Group", "group": "consumer (advanced)", "label": "consumer,advanced",
"required": false, "type": "object", "javaType":
"io.netty.channel.EventLoopGroup", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "Set the BossGroup which could be used for
handling the new connection of th [...]
+ "broadcast": { "index": 15, "kind": "property", "displayName":
"Broadcast", "group": "consumer (advanced)", "label": "consumer,advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"configurationClass": "org.apache.camel.component.netty.NettyConfiguration",
"configurationField": "configuration", "description": "Setting to choose
Multicast over UDP" },
+ "disconnectOnNoReply": { "index": 16, "kind": "property", "displayName":
"Disconnect On No Reply", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": true, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "If sync is enabled then this option dictates
NettyCons [...]
+ "executorService": { "index": 17, "kind": "property", "displayName":
"Executor Service", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "object", "javaType":
"io.netty.util.concurrent.EventExecutorGroup", "deprecated": false,
"autowired": false, "secret": false, "description": "To use the given custom
EventExecutorGroup." },
+ "maximumPoolSize": { "index": 18, "kind": "property", "displayName":
"Maximum Pool Size", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "autowired": false, "secret": false, "description": "Sets
a maximum thread pool size for the netty consumer ordered thread pool. The
default size is 2 x cpu_core plus 1. Setting this value to eg 10 will then use
10 threads unless 2 x cpu_core plus 1 is a hig [...]
+ "nettyServerBootstrapFactory": { "index": 19, "kind": "property",
"displayName": "Netty Server Bootstrap Factory", "group": "consumer
(advanced)", "label": "consumer,advanced", "required": false, "type": "object",
"javaType": "org.apache.camel.component.netty.NettyServerBootstrapFactory",
"deprecated": false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "To use a [...]
"noReplyLogLevel": { "index": 20, "kind": "property", "displayName": "No
Reply Log Level", "group": "consumer (advanced)", "label": "consumer,advanced",
"required": false, "type": "object", "javaType":
"org.apache.camel.LoggingLevel", "enum": [ "TRACE", "DEBUG", "INFO", "WARN",
"ERROR", "OFF" ], "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "WARN", "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configura [...]
"serverClosedChannelExceptionCaughtLogLevel": { "index": 21, "kind":
"property", "displayName": "Server Closed Channel Exception Caught Log Level",
"group": "consumer (advanced)", "label": "consumer,advanced", "required":
false, "type": "object", "javaType": "org.apache.camel.LoggingLevel", "enum": [
"TRACE", "DEBUG", "INFO", "WARN", "ERROR", "OFF" ], "deprecated": false,
"autowired": false, "secret": false, "defaultValue": "DEBUG",
"configurationClass": "org.apache.camel.component.n [...]
"serverExceptionCaughtLogLevel": { "index": 22, "kind": "property",
"displayName": "Server Exception Caught Log Level", "group": "consumer
(advanced)", "label": "consumer,advanced", "required": false, "type": "object",
"javaType": "org.apache.camel.LoggingLevel", "enum": [ "TRACE", "DEBUG",
"INFO", "WARN", "ERROR", "OFF" ], "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "WARN", "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "co [...]
@@ -126,19 +126,19 @@
"reuseChannel": { "index": 6, "kind": "parameter", "displayName": "Reuse
Channel", "group": "common", "label": "common", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "This option allows producers and consumers (in
client mode) to reuse the same Netty Channel f [...]
"sync": { "index": 7, "kind": "parameter", "displayName": "Sync", "group":
"common", "label": "", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": true, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "Setting to set endpoint as one-way (false) or
request-response (true)" },
"tcpNoDelay": { "index": 8, "kind": "parameter", "displayName": "Tcp No
Delay", "group": "common", "label": "", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "defaultValue": true, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "Setting to improve TCP protocol performance" },
- "clientMode": { "index": 9, "kind": "parameter", "displayName": "Client
Mode", "group": "consumer", "label": "consumer", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "If the clientMode is true, netty consumer will
connect the address as a TCP client." },
- "reconnect": { "index": 10, "kind": "parameter", "displayName":
"Reconnect", "group": "consumer", "label": "consumer", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": true, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "Used only in clientMode in consumer, the
consumer will attempt to reconnect on disconnection if [...]
- "reconnectInterval": { "index": 11, "kind": "parameter", "displayName":
"Reconnect Interval", "group": "consumer", "label": "consumer", "required":
false, "type": "integer", "javaType": "int", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": 10000, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "Used if reconnect and clientMode is enabled.
The interval in milli seconds to atte [...]
- "backlog": { "index": 12, "kind": "parameter", "displayName": "Backlog",
"group": "consumer (advanced)", "label": "consumer,advanced", "required":
false, "type": "integer", "javaType": "int", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "Allows to configure a backlog for netty
consumer (server). Note the backlog is just a best effort dependin [...]
- "bossCount": { "index": 13, "kind": "parameter", "displayName": "Boss
Count", "group": "consumer (advanced)", "label": "consumer,advanced",
"required": false, "type": "integer", "javaType": "int", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": 1, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "When netty works on nio mode, it uses default
bossCount parameter from Netty, whic [...]
- "bossGroup": { "index": 14, "kind": "parameter", "displayName": "Boss
Group", "group": "consumer (advanced)", "label": "consumer,advanced",
"required": false, "type": "object", "javaType":
"io.netty.channel.EventLoopGroup", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "Set the BossGroup which could be used for
handling the new connection of t [...]
- "bridgeErrorHandler": { "index": 15, "kind": "parameter", "displayName":
"Bridge Error Handler", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Allows for bridging the consumer to the
Camel routing Error Handler, which mean any exceptions (if possible) occurred
while the Camel consumer is trying to pickup incoming [...]
- "broadcast": { "index": 16, "kind": "parameter", "displayName":
"Broadcast", "group": "consumer (advanced)", "label": "consumer,advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"configurationClass": "org.apache.camel.component.netty.NettyConfiguration",
"configurationField": "configuration", "description": "Setting to choose
Multicast over UDP" },
- "disconnectOnNoReply": { "index": 17, "kind": "parameter", "displayName":
"Disconnect On No Reply", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": true, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "If sync is enabled then this option dictates
NettyCon [...]
- "exceptionHandler": { "index": 18, "kind": "parameter", "displayName":
"Exception Handler", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "object", "javaType":
"org.apache.camel.spi.ExceptionHandler", "optionalPrefix": "consumer.",
"deprecated": false, "autowired": false, "secret": false, "description": "To
let the consumer use a custom ExceptionHandler. Notice if the option
bridgeErrorHandler is enabled then this option is not in use. By de [...]
- "exchangePattern": { "index": 19, "kind": "parameter", "displayName":
"Exchange Pattern", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "object", "javaType":
"org.apache.camel.ExchangePattern", "enum": [ "InOnly", "InOut" ],
"deprecated": false, "autowired": false, "secret": false, "description": "Sets
the exchange pattern when the consumer creates an exchange." },
- "nettyServerBootstrapFactory": { "index": 20, "kind": "parameter",
"displayName": "Netty Server Bootstrap Factory", "group": "consumer
(advanced)", "label": "consumer,advanced", "required": false, "type": "object",
"javaType": "org.apache.camel.component.netty.NettyServerBootstrapFactory",
"deprecated": false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "To use [...]
- "networkInterface": { "index": 21, "kind": "parameter", "displayName":
"Network Interface", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass": "org.apache.camel.component.netty.NettyConfiguration",
"configurationField": "configuration", "description": "When using UDP then this
option can be used to specify a network interface [...]
+ "networkInterface": { "index": 9, "kind": "parameter", "displayName":
"Network Interface", "group": "common (advanced)", "label": "common,advanced",
"required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "When using UDP then this option can be used to
specify a network interface by it [...]
+ "clientMode": { "index": 10, "kind": "parameter", "displayName": "Client
Mode", "group": "consumer", "label": "consumer", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "If the clientMode is true, netty consumer will
connect the address as a TCP client." },
+ "reconnect": { "index": 11, "kind": "parameter", "displayName":
"Reconnect", "group": "consumer", "label": "consumer", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": true, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "Used only in clientMode in consumer, the
consumer will attempt to reconnect on disconnection if [...]
+ "reconnectInterval": { "index": 12, "kind": "parameter", "displayName":
"Reconnect Interval", "group": "consumer", "label": "consumer", "required":
false, "type": "integer", "javaType": "int", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": 10000, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "Used if reconnect and clientMode is enabled.
The interval in milli seconds to atte [...]
+ "backlog": { "index": 13, "kind": "parameter", "displayName": "Backlog",
"group": "consumer (advanced)", "label": "consumer,advanced", "required":
false, "type": "integer", "javaType": "int", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "Allows to configure a backlog for netty
consumer (server). Note the backlog is just a best effort dependin [...]
+ "bossCount": { "index": 14, "kind": "parameter", "displayName": "Boss
Count", "group": "consumer (advanced)", "label": "consumer,advanced",
"required": false, "type": "integer", "javaType": "int", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": 1, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "When netty works on nio mode, it uses default
bossCount parameter from Netty, whic [...]
+ "bossGroup": { "index": 15, "kind": "parameter", "displayName": "Boss
Group", "group": "consumer (advanced)", "label": "consumer,advanced",
"required": false, "type": "object", "javaType":
"io.netty.channel.EventLoopGroup", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "Set the BossGroup which could be used for
handling the new connection of t [...]
+ "bridgeErrorHandler": { "index": 16, "kind": "parameter", "displayName":
"Bridge Error Handler", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Allows for bridging the consumer to the
Camel routing Error Handler, which mean any exceptions (if possible) occurred
while the Camel consumer is trying to pickup incoming [...]
+ "broadcast": { "index": 17, "kind": "parameter", "displayName":
"Broadcast", "group": "consumer (advanced)", "label": "consumer,advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"configurationClass": "org.apache.camel.component.netty.NettyConfiguration",
"configurationField": "configuration", "description": "Setting to choose
Multicast over UDP" },
+ "disconnectOnNoReply": { "index": 18, "kind": "parameter", "displayName":
"Disconnect On No Reply", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": true, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "If sync is enabled then this option dictates
NettyCon [...]
+ "exceptionHandler": { "index": 19, "kind": "parameter", "displayName":
"Exception Handler", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "object", "javaType":
"org.apache.camel.spi.ExceptionHandler", "optionalPrefix": "consumer.",
"deprecated": false, "autowired": false, "secret": false, "description": "To
let the consumer use a custom ExceptionHandler. Notice if the option
bridgeErrorHandler is enabled then this option is not in use. By de [...]
+ "exchangePattern": { "index": 20, "kind": "parameter", "displayName":
"Exchange Pattern", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "object", "javaType":
"org.apache.camel.ExchangePattern", "enum": [ "InOnly", "InOut" ],
"deprecated": false, "autowired": false, "secret": false, "description": "Sets
the exchange pattern when the consumer creates an exchange." },
+ "nettyServerBootstrapFactory": { "index": 21, "kind": "parameter",
"displayName": "Netty Server Bootstrap Factory", "group": "consumer
(advanced)", "label": "consumer,advanced", "required": false, "type": "object",
"javaType": "org.apache.camel.component.netty.NettyServerBootstrapFactory",
"deprecated": false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "To use [...]
"noReplyLogLevel": { "index": 22, "kind": "parameter", "displayName": "No
Reply Log Level", "group": "consumer (advanced)", "label": "consumer,advanced",
"required": false, "type": "object", "javaType":
"org.apache.camel.LoggingLevel", "enum": [ "TRACE", "DEBUG", "INFO", "WARN",
"ERROR", "OFF" ], "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "WARN", "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configur [...]
"serverClosedChannelExceptionCaughtLogLevel": { "index": 23, "kind":
"parameter", "displayName": "Server Closed Channel Exception Caught Log Level",
"group": "consumer (advanced)", "label": "consumer,advanced", "required":
false, "type": "object", "javaType": "org.apache.camel.LoggingLevel", "enum": [
"TRACE", "DEBUG", "INFO", "WARN", "ERROR", "OFF" ], "deprecated": false,
"autowired": false, "secret": false, "defaultValue": "DEBUG",
"configurationClass": "org.apache.camel.component. [...]
"serverExceptionCaughtLogLevel": { "index": 24, "kind": "parameter",
"displayName": "Server Exception Caught Log Level", "group": "consumer
(advanced)", "label": "consumer,advanced", "required": false, "type": "object",
"javaType": "org.apache.camel.LoggingLevel", "enum": [ "TRACE", "DEBUG",
"INFO", "WARN", "ERROR", "OFF" ], "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "WARN", "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "c [...]
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/NettyEndpointBuilderFactory.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/NettyEndpointBuilderFactory.java
index fc4de970096..7bd358034bc 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/NettyEndpointBuilderFactory.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/NettyEndpointBuilderFactory.java
@@ -914,6 +914,21 @@ public interface NettyEndpointBuilderFactory {
default NettyEndpointConsumerBuilder basic() {
return (NettyEndpointConsumerBuilder) 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 AdvancedNettyEndpointConsumerBuilder networkInterface(String
networkInterface) {
+ doSetProperty("networkInterface", networkInterface);
+ return this;
+ }
/**
* Allows to configure a backlog for netty consumer (server). Note the
* backlog is just a best effort depending on the OS. Setting this
@@ -1224,21 +1239,6 @@ public interface NettyEndpointBuilderFactory {
doSetProperty("nettyServerBootstrapFactory",
nettyServerBootstrapFactory);
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 AdvancedNettyEndpointConsumerBuilder networkInterface(String
networkInterface) {
- doSetProperty("networkInterface", networkInterface);
- return this;
- }
/**
* If sync is enabled this option dictates NettyConsumer which logging
* level to use when logging a there is no reply to send back.
@@ -2683,6 +2683,21 @@ public interface NettyEndpointBuilderFactory {
return (NettyEndpointProducerBuilder) 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 AdvancedNettyEndpointProducerBuilder networkInterface(String
networkInterface) {
+ doSetProperty("networkInterface", networkInterface);
+ return this;
+ }
/**
* To use a custom ClientInitializerFactory.
*
@@ -4386,6 +4401,21 @@ public interface NettyEndpointBuilderFactory {
return (NettyEndpointBuilder) 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 AdvancedNettyEndpointBuilder networkInterface(String
networkInterface) {
+ doSetProperty("networkInterface", networkInterface);
+ return this;
+ }
/**
* Only used for TCP when transferExchange is true. When set to true,
* serializable objects in headers and properties will be added to the