concept MINA in category camel

appears as: MINA
Camel in Action

This is an excerpt from Manning's book Camel in Action.

To communicate over these and other protocols, Camel uses Apache MINA and Netty. Both MINA and Netty are networking frameworks that provide asynchronous event-driven APIs and communicate over various protocols like TCP and UDP. In this section, we’ll be using MINA to demonstrate low-level network communication with Camel. For more information on using Netty with Camel, see the camel-netty component’s documentation (http://camel.apache.org/netty.html).

Here you set up a TCP server on port 8999 using MINA, and it parses messages using the textline codec. The sync property is set to false to make this route InOnly—any clients sending a message won’t get a reply back.