mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrian Sandor <adi...@yahoo.com>
Subject message priorities
Date Tue, 28 Aug 2007 08:00:18 GMT
As I understand it, when I write a message to an IoSession, it is immediately taken, (filtered)
and added to some kind of queue (SocketSessionImpl.writeRequestQueue?) .
Later, the messages are sent out in the order that they were received.
Is there a way to assign priorities to messages, so that higher-priority messages will get
sent first (in the order that they were received, if they have the same priority)?
I guess making the queue customizable could achieve that. What do you think?

Adrian


Mime
View raw message