title: Spring cloud aws (messaging) - not getting message
body: <p>I am attempting to get spring cloud to work with messaging using auto configure.</p>
  
  <p>My properties file contains:</p>
  
  <pre><code>cloud.aws.credentials.accessKey=xxxxxxxxxx
  cloud.aws.credentials.secretKey=xxxxxxxxxx
  
  cloud.aws.region.static=us-west-2
  </code></pre>
  
  <p>My Configuration class is as follows:</p>
  
  <pre><code>@ComponentScan
  @EnableAutoConfiguration
  public class Application {
  
  
  public static void main(String[] args) throws Exception {
      SpringApplication.run(Application.class, args);
    }
  }
  </code></pre>
  
  <p>My Listener class:</p>
  
  <pre><code>@RestController
  public class OrderListener {
  
  @MessageMapping("orderQueue")
  public void orderListener(Order order){
  
      System.out.println("Order Name " + order.getName());
      System.out.println("Order Url" + order.getUrl());
  
      }
  
  }
  </code></pre>
  
  <p>However, nothing seems to print out. I've verified that my queue is in the right region and there is a message on the queue thats ready to be received. </p>
  
  <p>Can someone please provide some guidance? </p>