Hi Change the host in the URL of the server from localhost to 0.0.0.0, ie mina:tcp://0.0.0.0:8888?textline=true&sync=true
Then change the client to connect to the actual IP, if it connects to 0.0.0.0, it will of course connect to localhost. Taariq On Mon, Nov 14, 2011 at 3:38 AM, newbiee <[email protected]> wrote: > Thank you all for your feedback. > > I have tried an example similar to the one given at the following site: > http://marcelojabali.blogspot.com/2011/09/using-apache-mina-in-camel.html > > But this works only if the client and server are on the same machines i.e. > local host. > In my case, I will have to use digi device which I can access and turn on > the TCP server on it. > I am focusing on MINA component but I am still unable to figure out how can > this component make my life easier in communicating with digi device. I > will > have to write a client program to open a socket communication with the digi > device or will this should be done by MINA in CAMEL. I don't know how to do > this. I need to guidance, please provide your valuable feedback. > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Remotely-pulling-messages-using-CAMEL-tp4971149p4989487.html > Sent from the Camel - Users mailing list archive at Nabble.com. >
