[jboss-jira] [JBoss JIRA] Resolved: (JGRP-767) JChannel: open() fails
Bela Ban (JIRA)
jira-events at lists.jboss.org
Mon Jun 2 06:03:20 EDT 2008
[ http://jira.jboss.com/jira/browse/JGRP-767?page=all ]
Bela Ban resolved JGRP-767.
---------------------------
Resolution: Done
Added a field 'properties'. getProperties() gets this cached field, or - if protocol stack returns non-null props - sets them in 'properties' and returns the new value
> JChannel: open() fails
> ----------------------
>
> Key: JGRP-767
> URL: http://jira.jboss.com/jira/browse/JGRP-767
> Project: JGroups
> Issue Type: Bug
> Reporter: Bela Ban
> Assigned To: Bela Ban
> Fix For: 2.7
>
>
> JChannel.open() fails because the properties of the previously created channel cannot be fetched correctly. If set store the setup_string, and someone changes the instance variables, e.g. via a setter (UDP.setMulticastPort()), then open() will use the *old* props !
> open() used to call Channel.getProperties(), but since we cannot simply return the old 'props' value (mostly not used anymore !), we have to either generate the properties from the instance vars annotated with @Property, or somehow store a 'configuration' of the properties in the channel.
> Maybe a ChannelConfiguration class ?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list