Stream corruption with multiple producers -> SOLVED

Shay Banon kimchy at gmail.com
Sun Dec 27 10:22:48 EST 2009


In the shared pipleline case, the same pipeline is used for all channels
(don't get confused with the *documentation* annotation, which is just that,
a documentation one, on the handlers). With the factory, a pipeline is
created per channel so you won't get corruptions.

Shay

On Sun, Dec 27, 2009 at 5:15 PM, Luis Neves <luis.neves at gmail.com> wrote:

> On 12/27/2009 01:34 PM, Shay Banon wrote:
> > In the TestServer, instead of adding handlers to the pipeline of the
> > bootstrap, you need to add a pipeline factory, that will create the
> > pipeline you want. Something like:
> >
> > [... snip ..]
>
> Thanks!
> For some reason that does the trick.
>
> I was under the impression that both idioms were equivalent  to setup
> the pipeline... I was wrong.
>
> Thanks again.
>
> Regards.
>
> --
> Luis Neves
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/netty-users/attachments/20091227/39ec3363/attachment.html 


More information about the netty-users mailing list