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 protected]> 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 protected]> 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 protected])
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/kenlists%40anderhome.com
>> 
>> This email sent to [email protected]
> 


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to