NettyPage edited by Ashwin KarpeNetty ComponentAvailable as of Camel 2.3 The netty component in Camel is a socket communication component, based on the This camel component supports both producer and consumer endpoints. The netty component has several options and allows fine-grained control of a number of Maven users will need to add the following dependency to their pom.xml for this component: URI formatThe URI scheme for a netty component is as follows This component supports producer and consumer endpoints for both TCP and UDP. You can append query options to the URI in the following format, ?option=value&option=value&... Options
Registry based OptionsCodec Handlers and SSL Keystores can be set via a JNDI Registry that is associated with the Camel Context.
Sending Messages to/from a Netty endpointNetty ProducerIn Producer mode, the component provides the ability to send payloads to a socket endpoint The producer mode supports both one-way and request-response based operations. Netty ConsumerIn Consumer mode, the component provides the ability to:
The consumer mode supports both one-way and request-response based operations. Usage SamplesA UDP Netty endpoint using Request-Reply and serialized object payloadA TCP based Netty consumer endpoint using One-way communicationAn SSL/TCP based Netty consumer endpoint using Request-Reply communicationSee Also
Change Notification Preferences
View Online
|
View Change
|
Add Comment
|
- [CONF] Apache Camel > Netty confluence
- [CONF] Apache Camel > Netty confluence
- [CONF] Apache Camel > Netty confluence
- [CONF] Apache Camel > Netty confluence
- [CONF] Apache Camel > Netty confluence
- [CONF] Apache Camel > Netty confluence
- [CONF] Apache Camel > Netty confluence
- [CONF] Apache Camel > Netty confluence
- [CONF] Apache Camel > Netty confluence
- [CONF] Apache Camel > Netty confluence
- [CONF] Apache Camel > Netty confluence
- [CONF] Apache Camel > Netty confluence
- [CONF] Apache Camel > Netty confluence
- [CONF] Apache Camel > Netty confluence
- [CONF] Apache Camel > Netty confluence
- [CONF] Apache Camel > Netty confluence
- [CONF] Apache Camel > Netty confluence
- [CONF] Apache Camel > Netty confluence
- [CONF] Apache Camel > Netty confluence
- [CONF] Apache Camel > Netty confluence
- [CONF] Apache Camel > Netty confluence