Hi Jean-François,

2005/10/11, Jean-François Daune <[EMAIL PROTECTED]>:
I face a tough problem. My server application needs to prioritize some
messages.

I mean that when a message of type X is received, it should be processed
before any other ones.

Actually, the best would be that a message X whose 'age' is higher than
S seconds should be promoted as first one to process.

In a way, it is QoS at message-handling level.

What is the best way in Mina to implement this?

Yes, implementing a filter is the best solution as others noticed.  Possibly you'll have to implement your own ThreadPoolFilter or modify existing one.

BTW thanks for your good idea of QoS. :)

Trustin
--
what we call human nature is actually human habit
--
http://gleamynode.net/

Reply via email to