title: nodejs rhea npm for amqp couldn't create subscription queue on address in activemq artemis
body: <p>I have an address "pubsub.foo" already configured as multicast in <code>broker.xml</code>.</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;address name="pubsub.foo"&gt;
     &lt;multicast/&gt;
  &lt;/address&gt;
  </code></pre>
  
  <p>As per the <a href="https://activemq.apache.org/components/artemis/documentation/2.0.0/address-model.html" rel="nofollow noreferrer">Artemis documentation</a>:</p>
  
  <blockquote>
    <p>When clients connect to an address with the multicast element, a subscription queue for the client will be automatically created for the client.</p>
  </blockquote>
  
  <p>I am creating a simple utility using rhea AMQP Node.js npm to publish messages to the address.</p>
  
  <pre class="lang-js prettyprint-override"><code>var connection = require('rhea').connect({ port: args.port, host: args.host, username:'admin', password:'xxxx' });
  
  var sender = connection.open_sender('pubsub.foo');
  sender.on('sendable', function(context) {
      var m = 'Hii test' 
      console.log('sent ' + m);
      sender.send({body:m});
      connection.close();
  });
  </code></pre>
  
  <p>I enabled debug log and while running the client code I see the message like this.</p>
  
  <pre><code>2020-02-03 22:43:25,071 DEBUG [org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl] Message org.apache.activemq.artemis.protocol.amqp.broker.AMQPMessage@68933e4b is not going anywhere as it didn't have a binding on address:pubsub.foo
  </code></pre>
  
  <p>I also tried different variations of the topic, for example, <code>client1.pubsub.foo</code>, <code>pubsub.foo::client1</code> however no luck from the client code. Please share your thoughts. I am new to ActiveMQ Artemis.</p>
  
  <p><a href="https://i.stack.imgur.com/ydABs.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ydABs.png" alt="enter image description here"></a></p>