Re: [jgroups-users] upgrading to 3.6.8

Questions/problems related to using JGroups <[email protected]>
Newsgroups gmane.comp.java.javagroups.general
Message-ID <CAPO65OgJMzbd48FfmSikwmXJVG5LALDzLBRwvu99cHSKvptr8w@mail.gmail.com>
On Thu, Mar 31, 2016 at 11:43 AM, Bobby Bissett <[email protected]> wrote:

> >
>
>> > - Use new JChannel(Protocol ... protocols) constructor.
>>
>
> Am unable to create my channel now, and wonder if it's a problem with the
> way I'm using the JChannel constructor or something.
>

Note, if I move back to this style then everything works:

        JChannel channel = new JChannel(false);
        ProtocolStack stack = new ProtocolStack();
        channel.setProtocolStack(stack);

        stack.addProtocol(new TCP()
            .setValue("oob_thread_pool_keep_alive_time", 5000)
            [etc]
            .addProtocol(new FRAG2())
            .addProtocol(new STATE_TRANSFER());

        stack.init();

Cheers,
Bobby

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140

_______________________________________________
javagroups-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/javagroups-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.