title: RabbitMQ queue and routing key
body: <p>In documentation
  <a href="https://docs.spring.io/spring-amqp/reference/htmlsingle/" rel="nofollow noreferrer">https://docs.spring.io/spring-amqp/reference/htmlsingle/</a>
  i see </p>
  
  <pre><code>@RabbitListener(bindings = @QueueBinding(
          value = @Queue(value = "myQueue", durable = "true"),
          exchange = @Exchange(value = "auto.exch", ignoreDeclarationExceptions = "true"),
          key = "orderRoutingKey")
    )
    public void processOrder(Order order) {
  
    }
  
    @RabbitListener(bindings = @QueueBinding(
          value = @Queue,
          exchange = @Exchange(value = "auto.exch"),
          key = "invoiceRoutingKey")
    )
    public void processInvoice(Invoice invoice) {
  
    }
  </code></pre>
  
  <p>Here 1 queue and 2 another routing keys, everyone for his method
  But my code doesn't get message from key!</p>
  
  <pre><code>    @RabbitListener(bindings = @QueueBinding(
              value = @Queue(value = DRIVER_QUEUE, durable = "true"),
              exchange = @Exchange(value = "exchange", ignoreDeclarationExceptions = "true", autoDelete = "true"),
              key = "order")
      )
      public String getOrders(byte[] message) throws InterruptedException {
           System.out.println("Rout order");
      }
  
      @RabbitListener(bindings = @QueueBinding(
              value = @Queue(value = DRIVER_QUEUE, durable = "true"),
              exchange = @Exchange(value = "exchange", ignoreDeclarationExceptions = "true", autoDelete = "true"),
              key = "invoice")
      )
      public String getOrders(byte[] message) throws InterruptedException {
           System.out.println("Rout invoice");
      }
  </code></pre>
  
  <p>they all get message from queue and not see key...
  site send in queue message with key "invoice" and  i see in console "Route order"
  Whats problem?? Thank a lot!</p>
  
  <p>rabbitmq 3.7.3
  spring 4.2.9
  org.springframework.amqp 1.7.5</p>