Do I understand this correct? 
When i use camel in servicemix to open up a tcp port that listens using
mina, Can i access it with a stand alone java app?  What i want to do is
open tcp port with mina and accept user entered data.
I have this so far 
public MinaTest(){
        SocketConnector sc = new SocketConnector();
        ((IoConnectorConfig) sc.getDefaultConfig())
                .setConnectTimeout(30);
        InetSocketAddress add = new InetSocketAddress("127.0.0.1",10021);
        ConnectFuture cf = sc.connect(add,new NetCatProtocolHandler());
        cf.join();
        IoSession s = cf.getSession();
       s.write("EHHL");
    }
and use the example from the tutorial to accept.
What am i doing wrong. 
Thanks in advance
-- 
View this message in context: 
http://www.nabble.com/Apache-mina-and-servicemix-tp19631418p19631418.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to