[
http://jira.jboss.com/jira/browse/JGRP-270?page=all ]
Bela Ban resolved JGRP-270.
---------------------------
Resolution: Done
done, thanks,
can't get correct values when using jmx.JChannel
------------------------------------------------
Key: JGRP-270
URL:
http://jira.jboss.com/jira/browse/JGRP-270
Project: JGroups
Issue Type: Bug
Affects Versions: 2.3 SP1
Reporter: Ivan Martinez
Assigned To: Bela Ban
Priority: Minor
Fix For: 2.4
Attachments: jgroups_jmx_gets.patch
I'm looking at jmx.JChannel class and I found this atributes :
private boolean receive_blocks=false;
private boolean receive_local_msgs=true;
private boolean auto_reconnect=false;
private boolean auto_getstate=false;
String group_name="TestGroup";
The problem when using the object using the constructor jmx.JChannel(JChannel) :
when the object is initialized the values are not initialized using the real channel
options.
The get methods use this values instead of using channel.getOpt
The values will be correct only after the set** methodas are called on jmx object.
when the bean is created using jmx.JChannel() constructor and the create() method called
then it will works fine, because the real channel will be created inside the bean with the
current values.
--
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