mina-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Skywalker <lekkie.ay...@gmail.com>
Subject Understanding Apache Mina 2 Request/Response mapping
Date Fri, 30 May 2014 11:59:19 GMT
Hi all,

I need help to understanding how Apache Mina 2 maps responses to requests.
It appears it matches responses to their respective requests by assuming the
responses will come back on the same socket.

If requests to server leaves on lets say Local Address: /
i.e. ProtocolEncoder's session.getLocalAddress(), Apache mina expects
response on the Local Address: / i.e. ProtocolDecoder's

However, I have a situation where the service responds to any available
socket, e.g. the response could be on Local Address: /

I realize Mina is unable to map this response, and I am unable to get this
response. How do I use something else to map request and response other than
socket id.


View this message in context: http://apache-mina.10907.n7.nabble.com/Understanding-Apache-Mina-2-Request-Response-mapping-tp42337.html
Sent from the Apache MINA User Forum mailing list archive at Nabble.com.

View raw message