Adrian Sandor wrote:
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?

There's currently no support for this but it stands to reason that we could use a prioritized queue for the writeRequestQueue. It might also be nice to be able to manipulate the priority from a filter.

Would you log a feature request for this? Any patches would, of course, be appreciated.

-Mike

Reply via email to