apache/camel — pull request #303 by yuruki (2014-10-17 15:39:42+00:00)
Title: CAMEL-1077 Added remote address support to camel-netty consumer

This pull request adds *clientMode* parameter to netty component. When *clientMode* is true netty consumer will listen to the given address as a client.

Bear in mind that my experience with netty is about two days and the approach used here might be completely wrong. My local unit tests seem to work but there are no tests for clientMode in this pull request yet.

If the implementation proves solid we might want to switch the clientMode on automatically for non-local addresses (http://stackoverflow.com/questions/2406341/how-to-check-if-an-ip-address-is-the-local-host-on-a-multi-homed-system).