activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuconic <...@git.apache.org>
Subject [GitHub] activemq-artemis pull request #726: Don't send jgroup messages to self
Date Tue, 23 Aug 2016 14:05:25 GMT
Github user clebertsuconic commented on a diff in the pull request:

    https://github.com/apache/activemq-artemis/pull/726#discussion_r75872292
  
    --- Diff: artemis-core-client/src/main/java/org/apache/activemq/artemis/api/core/jgroups/JChannelWrapper.java
---
    @@ -127,6 +128,7 @@ public void addReceiver(JGroupsReceiver jGroupsReceiver) {
     
        public void send(org.jgroups.Message msg) throws Exception {
           if (logger.isTraceEnabled()) logger.trace(this + "::Sending JGroups Message: Open="
+ channel.isOpen() + " on channel " + channelName + " msg=" + msg);
    +      msg.setTransientFlag(Message.TransientFlag.DONT_LOOPBACK);
    --- End diff --
    
    this is probably the only line needed here.


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

Mime
View raw message