anchor.diff:  	private final QueueMessagingTemplate queueMessagingTemplate;
   
   	@Autowired
  -	public SqsQueueSender(AmazonSQS amazonSqs) {
  -		this.queueMessagingTemplate = new QueueMessagingTemplate(amazonSqs);
  +	public SqsQueueSender(AmazonSQSAsync amazonSQSAsync) {
  +		this.queueMessagingTemplate = new QueueMessagingTemplate(amazonSQSAsync);
   	}
   
   	public void send(String message) {
  
positive.code: 
  [source,java,index=0]
  ----
  import com.amazonaws.services.sqs.AmazonSQS;
  import org.springframework.beans.factory.annotation.Autowired;
  import org.springframework.cloud.aws.messaging.core.QueueMessagingTemplate;
  import org.springframework.messaging.support.MessageBuilder;
  
negative.code: </beans>
  ----
  
  In this example the messaging namespace handler constructs a new `QueueMessagingTemplate`. The `AmazonSQSAsync` client
  is automatically created and passed to the template's constructor based on the provided credentials. If the
  application runs inside a configured CloudFormation stack a `ResourceIdResolver` is passed to the constructor (see
  <<Managing cloud environments>> for more information about resource name resolution).
  