title: How subscribe in an RabbitMQ queue with MQTT Paho
body: <p>I am trying to connect from my Android app to one queue called "messages".</p>
  
  <p>The producer (one webservices under AMQP protocol) is already connected, it can be check through RabbitMQ admin panel.</p>
  
  <p>To connect from my Android device I am coding like this.</p>
  
  <pre><code>private void connect() throws Exception {
  
      this.sampleClient = new MqttClient(this.broker, this.clientId);
  
      MqttConnectOptions connOpts = new MqttConnectOptions();
      connOpts.setUserName("user");
      connOpts.setPassword("user".toCharArray());
      /*connOpts.setConnectionTimeout(60 * 10);
      connOpts.setKeepAliveInterval(60 * 5);*/
      connOpts.setCleanSession(true);
  
      this.sampleClient.connect(connOpts);
  
      this.sampleClient.setCallback(this);
  
      this.sampleClient.subscribe("messages");
  
      if(!this.sampleClient.isConnected()){
  
          System.out.println("Not Connected");
          return;
      }
  
      System.out.println("Connected");
  }
  </code></pre>
  
  <p>I have tried with "amq.topic", "amq.topic.*", "amq.topic.messages", etc... But when I look in  the RabbitMQ queue section "messages" is with 0 consumers, and have been set one new queue called "mqtt-subscription-Sampleqos1" automatically.</p>
  
  <p>What's happening? How can I susbscribe to "messages" queue?</p>