[ https://issues.apache.org/jira/browse/GEODE-2179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15730278#comment-15730278 ]
ASF subversion and git services commented on GEODE-2179: -------------------------------------------------------- Commit 0494b31caf6f43cec85660fd8d939f2b1c6739c2 in geode's branch refs/heads/develop from [~upthewaterspout] [ https://git-wip-us.apache.org/repos/asf?p=geode.git;h=0494b31 ] GEODE-2179 - Checking for disconnected connection in GatewaySenderMBean Making sure that the mbean returns false for isConnected if the gateway is not actually connected to the remote side. > GatewaySenderMBeans isConnected flag does not notice if a connection is > destroyed > --------------------------------------------------------------------------------- > > Key: GEODE-2179 > URL: https://issues.apache.org/jira/browse/GEODE-2179 > Project: Geode > Issue Type: Bug > Components: wan > Reporter: Dan Smith > Assignee: Amey Barve > > The GatewaySenderMBean has a method called isConnected which ultimately calls > this code in GatewaySenderEventRemoteDispatcher > {code} > @Override > public boolean isConnectedToRemote() { > return connection != null; > } > {code} > However, this doesn't take into account that the connection may be destroyed, > but not null. Therefore the mbean can incorrectly indicate that the sender is > connected. -- This message was sent by Atlassian JIRA (v6.3.4#6332)