camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jamhit <Hitha.A...@sabre-holdings.com>
Subject Apache camel mina concurrency issue
Date Sun, 13 Sep 2009 04:38:44 GMT

I am getting errors when trying to send more than one message to a legacy
tcp/ip service using a Apache camel mina endpoint. Everything works as
expected when requests are send one at a time.  Using camel 1.6.  Any clues
will be appreciated. Following is the error I am getting.

Caused by: java.io.IOException: An existing connection was forcibly closed
by the remote host
        at sun.nio.ch.SocketDispatcher.read0(Native Method)
        at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:25)
        at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:233)
        at sun.nio.ch.IOUtil.read(IOUtil.java:200)
        at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:236)
        at
org.apache.mina.transport.socket.nio.SocketIoProcessor.read(SocketIoProcessor.java:218)
        at
org.apache.mina.transport.socket.nio.SocketIoProcessor.process(SocketIoProcessor.java:198)
        at
org.apache.mina.transport.socket.nio.SocketIoProcessor.access$400(SocketIoProcessor.java:45)
        at
org.apache.mina.transport.socket.nio.SocketIoProcessor$Worker.run(SocketIoProcessor.java:485)
        at
org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:51)

-- 
View this message in context: http://www.nabble.com/Apache-camel-mina-concurrency-issue-tp25420520p25420520.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message