public static interface NettyEndpointBuilderFactory.NettyBuilders
| Modifier and Type | Method and Description |
|---|---|
default NettyEndpointBuilderFactory.NettyEndpointBuilder |
netty(String path)
Netty (camel-netty)
Socket level networking using TCP or UDP with Netty 4.x.
|
default NettyEndpointBuilderFactory.NettyEndpointBuilder |
netty(String componentName,
String path)
Netty (camel-netty)
Socket level networking using TCP or UDP with Netty 4.x.
|
default NettyEndpointBuilderFactory.NettyEndpointBuilder netty(String path)
netty:protocol://host:port
Path parameter: protocol (required)
The protocol to use which can be tcp or udp.
There are 2 enums and the value can be one of: tcp, udp
Path parameter: host (required)
The hostname. For the consumer the hostname is localhost or 0.0.0.0.
For the producer the hostname is the remote host to connect to
Path parameter: port (required)
The host port numberpath - protocol://host:portdefault NettyEndpointBuilderFactory.NettyEndpointBuilder netty(String componentName, String path)
netty:protocol://host:port
Path parameter: protocol (required)
The protocol to use which can be tcp or udp.
There are 2 enums and the value can be one of: tcp, udp
Path parameter: host (required)
The hostname. For the consumer the hostname is localhost or 0.0.0.0.
For the producer the hostname is the remote host to connect to
Path parameter: port (required)
The host port numbercomponentName - to use a custom component name for the endpoint
instead of the default namepath - protocol://host:portApache Camel