On Wed, Feb 18, 2009 at 4:12 PM, Emmanuel Lecharny <[email protected]>wrote:

> > If I've understood well, that impossibility is related to another
> session's
> > ByteBuffer,
> > but I'm using a single session.
> > I mean all my concurrent threads write on the same session object by
> means
> > of write() method.
>
> Logically, one thread is associated with one session, that's the idea.
> If you have more than one thread writing data in one single session,
> then yes, you may have problems...



Emmanuel, I don't understand what you are saying.
I've never tried it because my apps don't need this, but I've always had the
impression that multiple threads writing to the same IoSession
simultaneously should work.
And that in the past, it is has been advertised to work.

But we do have an open bug about it:
https://issues.apache.org/jira/browse/DIRMINA-653

wdyt ?
Maarten


>
>
> --
> Regards,
> Cordialement,
> Emmanuel Lécharny
> www.iktek.com
>

Reply via email to