Re: ERJGroupsSynchronizer update to 3.x
Re: ERJGroupsSynchronizer update to 3.x
- Subject: Re: ERJGroupsSynchronizer update to 3.x
- From: Theodore Petrosky <email@hidden>
- Date: Wed, 18 Sep 2013 11:06:30 -0400
I see that you just commented out the section on .setDiscardOwnMessages. should this be set to 'true'?
do you want to receive messages on the sending jchannel?
if I read the 2.x docs, _channel.setOpt(Channel.LOCAL, Boolean.FALSE); set the sending channel to NOT receive updates which implies that setDiscardOwnMessages should be set to TRUE, no?
I may just stick with the 2.x implementation until I feel comfortable with these changes.
I also see they deprecated both isConnected() and isOpen() so this will have to be accounted for soon as it appears they purge deprecated methods (eventually not like other frameworks we know).
Any other gotchas?
are you using this where the apps in question live on the same box?
Ted
On Sep 18, 2013, at 10:40 AM, Ken Anderson <email@hidden> wrote:
> I am… You have to remove a lot from the xml file (deprecated controls basically), and make a few changes to the Java. Here's mine:
>
> <ERJGroupsNotificationCenter.java><ERJGroupsSynchronizer.java><jgroups-default.xml>
>
> Ken
>
>
> On Sep 18, 2013, at 10:37 AM, Theodore Petrosky <email@hidden> wrote:
>
>> I got the skinny on the upgrade of ERJGroupsSynchronizer.
>>
>> there are three issues:
>>
>> 1. _channel.setOpt(Channel.LOCAL, Boolean.FALSE);
>> gets changed to:
>> _channel.setDiscardOwnMessages(Boolean.FALSE);
>>
>> 2. reconnect according to bela, this section just comes out and in his words "Shunning was removed a long time ago".
>>
>> // if (ERXProperties.booleanForKeyWithDefault("er.extensions.jgroupsSynchronizer.autoReconnect", true)) {
>> // _channel.setOpt(Channel.AUTO_RECONNECT, Boolean.TRUE);
>> // }
>>
>> 3. and those exceptions i.e.. ChannelExceptions et al.
>>
>> my question to bela "Is that your intention to just use Java exceptions?"
>> answer: "[10:25] <bela__> yes, and runtime exceptions"
>>
>> he mentioned "[10:24] <bela__> tedpet: I also suggest use a config file shipped with the version you download, e.g. udp.xml, and then make slight modifications to it, if needed"
>>
>> I will see what is involved with that.
>>
>> I did update painlessly to 2.12.2
>>
>> Is anyone else using this?
>>
>> Ted
>>
>>
>>
>>
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden