title: JGroups: send(null, null, Message)vs send(Address, null, Message)
body: <p>I've written simple test for using JGroups.
  There are two simple applications like this </p>
  
  <pre><code>import org.jgroups.*;
  import org.jgroups.conf.ConfiguratorFactory;
  import org.jgroups.conf.ProtocolConfiguration;
  import org.jgroups.conf.ProtocolStackConfigurator;
  
  import java.util.List;
  
  /**
   * @author Sergii.Zagriichuk
   */
  public class Test {
      public static void main(String[] args) throws Exception {
          JChannel ch = new JChannel();
          ch.setReceiver(new ReceiverAdapter() {
              public void receive(Message msg) {
                  System.out.println("received message " + msg.getObject());
              }
          });
          ch.connect("one");
      }
  }
  </code></pre>
  
  <p>and this</p>
  
  <pre><code>package com.datacradle.example;
  
  import org.jgroups.Global;
  import org.jgroups.JChannel;
  import org.jgroups.Message;
  import org.jgroups.conf.ConfiguratorFactory;
  import org.jgroups.conf.ProtocolConfiguration;
  import org.jgroups.conf.ProtocolStackConfigurator;
  import org.jgroups.stack.IpAddress;
  import org.jgroups.util.SingletonAddress;
  import org.jgroups.util.Util;
  
  import java.util.List;
  
  /**
   * @author Sergii.Zagriichuk
   */
  public class Test {
  
      void start(String props) throws Exception {
  
          JChannel chanel = new JChannel();
          String line = "Test message";
          chanel.connect("one");
  //        Message msg = new Message(null, null, new TestData(line, 1111, line + " Test suffix"));
                  Message msg = new Message(new IpAddress("fe33:0:0:0:1986:ba23:d939:f226%12",55435) , null, new TestData(line,1111,line+" sdfasdfasdfasdfasdfa"));
          chanel.send(msg);
      }
  
      public static void main(final String[] args) throws Exception {
          new Test().start(null);
      }
  }
  </code></pre>
  
  <p>So, If I use this style for creating message</p>
  
  <pre><code> Message msg = new Message(null, null, new TestData(line, 1111, line + " Test suffix"));
  </code></pre>
  
  <p>I will receive just a one message(this is for all subscribers in current group),
  but if I use this style</p>
  
  <pre><code>Message msg = new Message(new IpAddress("fe33:0:0:0:1986:ba23:d939:f226%12",55435) , null, new TestData(line,1111,line+" sdfasdfasdfasdfasdfa"));
  </code></pre>
  
  <p>I will receive a lot of messages like in a loop (this is for one dist address)
  What is the problem or I should added some additional parameters?</p>
  
  <p>P.S, JGroups 3.0.0 RC1</p>
  
  <p>Thanks.</p>