anchor.diff:  ----
   
   === Searching resources
  -The Spring resource loader also supports collecting resources based on an ANT-style path specification. Spring Cloud AWS
  +The Spring resource loader also supports collecting resources based on an Ant-style path specification. Spring Cloud AWS
   offers the same support to resolve resources within a bucket and even throughout buckets. The next example shows the resource
   resolution by using different patterns.
   
  
positive.code: database is configured using CloudFormation.
  ====
  
  ==Sending mails
  Spring has a built-in support to send e-mails based on the http://www.oracle.com/technetwork/java/javamail/index.html[Java Mail API]
  to avoid any static method calls while using the Java Mail API and thus supporting the testability of application.
  Spring Cloud AWS supports the http://aws.amazon.com/de/ses/[Amazon SES] as an implementation of the Spring Mail abstraction.
  
  As a result Spring Cloud AWS users can decide to use the Spring Cloud AWS implementation of the Amazon SES service or
  use the standard Java Mail API based implementation that send e-mails via SMTP to Amazon SES
  
  [TIP]
  ====
  It is preferred to use the Spring Cloud AWS implementation instead of the SMTP mainly for performance reasons.
  Spring Cloud AWS uses one API call to send a mail message, the SMTP protocol makes multiple requests (EHLO, MAIL FROM, RCPT TO, DATA, QUIT)
  until it sends an e-mail.
  ====
  
  === Configuring the mail sender
  Spring Cloud AWS provides an XML element to configure a Spring `org.springframework.mail.MailSender` implementation for the
  client to be used. The default mail sender works without a Java Mail dependency and is capable of sending messages without
  attachment as simple mail messages. A configuration with the necessary elements will look like this:
  
  
  [source,xml,indent=0]
  
negative.code: method the convenience `sendNotification` method is used to send a `message` with `subject` to an SNS topic. The
  destination in the `sendNotification` method is a string value that must match the topic name defined on AWS. This value
  is resolved at runtime by the Amazon SNS client. Optionally a `ResourceIdResolver` implementation can be passed to the
  `NotificationMessagingTemplate` constructor to resolve resources by logical name when running inside a CloudFormation stack.
  (See <<Managing cloud environments>> for more information about resource name resolution.)
  
  It is recommended to use the XML messaging namespace to create `NotificationMessagingTemplate` as it will automatically
  configure the SNS client to setup the default converter.
  
  [source,xml,indent=0]
  ----
  