Current I want to listen to a port in remote machine using mina or netty component, I have tried netty and mina, but can't work, Does camel has some components can help to do it?
The following is the spring XML: <from uri="netty:tcp://142.2.15.148:4031?decoders=#length-decoder,#string-decoder&sync=false"/> <to uri="mock:multiple-codec"/> The following is the error message, 142.2.15.148 is an IP address of remote server An internal error occurred. Please contact support. An internal error occurred. Please contact support. org.jboss.netty.channel.ChannelException: Failed to bind to: /142.2.15.148:4031 [RuntimeCamelException] Failed to bind to: /142.2.15.148:4031 [ChannelException] Cannot assign requested address [BindException] sun.nio.ch.Net, line -2 of bind(). sun.nio.ch.ServerSocketChannelImpl, line 119 of bind(). sun.nio.ch.ServerSocketAdaptor, line 59 of bind(). org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink, line 148 of bind(). org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink, line 100 of handleServerSocket(). org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink, line 74 of eventSunk(). org.jboss.netty.channel.Channels, line 468 of bind(). -- View this message in context: http://camel.465427.n5.nabble.com/How-to-listen-to-a-port-in-remote-machine-using-mina-or-netty-component-tp4711371p4711371.html Sent from the Camel - Users mailing list archive at Nabble.com.