Looking at the JIRA entry, I agree with some of your earlier points.
I would not change IoService.write().  I do like the ability to add in
a WriteRequestQueue interface.  This will make the implementation
cleaner and not require any changes to methods that many people
currently use and are familiar with.

--Mark

On Nov 11, 2007 7:44 PM, Trustin Lee <[EMAIL PROTECTED]> wrote:
> Hi community,
>
> First off, please take a look at the following issue:
>
> https://issues.apache.org/jira/browse/DIRMINA-428
>
> Adrian is asking us to add an optional message priority parameter to
> IoSession.write().  For now, user can provide his own
> WriteRequestQueue implementation to implement prioritized messaging.
> Because most applications won't need message prioritization, the
> default configuration will ignore the specified (or default) priority
> value.  However, the specified priority value will exist as a property
> of a WriteRequest so it could be used as a hint for the user's
> WriteRequestQueue or IoFilter implementation.
>
> I think adding this optional parameter might be very useful but I am
> also not sure about adding it because it doesn't do anything in the
> default configuration.
>
> What do you think?  Any feed back is appreciated.
>
> Trustin
> --
> what we call human nature is actually human habit
> --
> http://gleamynode.net/
> --
> PGP Key ID: 0x0255ECA6
>



-- 
--------------------------------
The adjuration to be "normal" seems shockingly repellent to me; I see
neither hope nor comfort in sinking to that low level. I think it is
ignorance that makes people think of abnormality only with horror and
allows them to remain undismayed at the proximity of "normal" to
average and mediocre. For surely anyone who achieves anything is,
essentially, abnormal.
     Dr. Karl Menninger

Reply via email to