[jboss-jira] [JBoss JIRA] Created: (JGRP-270) can't get correct values when using jmx.JChannel

Ivan Martinez (JIRA) jira-events at jboss.com
Wed Aug 9 17:57:15 EDT 2006


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
         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

        



More information about the jboss-jira mailing list