You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by johnament <gi...@git.apache.org> on 2016/08/01 11:47:43 UTC

[GitHub] activemq-artemis pull request #672: [ARTEMIS-642] Disable slow client reconn...

Github user johnament commented on a diff in the pull request:

    https://github.com/apache/activemq-artemis/pull/672#discussion_r72964784
  
    --- Diff: artemis-core-client/src/main/java/org/apache/activemq/artemis/core/protocol/core/impl/ActiveMQSessionContext.java ---
    @@ -162,6 +164,14 @@ public int getReconnectID() {
           return sessionChannel.getReconnectID();
        }
     
    +   public boolean isKilled() {
    +      return killed;
    +   }
    +
    +   public void kill(boolean killed) {
    --- End diff --
    
    Sorry, I wasn't clear.  When I mentioned `kill()` I was thinking:
    
    ```
    public void kill() {
       this.killed = true;
    }
    ```
    
    This way the caller isn't directly modifying the variable.  But no big deal.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---