Configuring the components - 6.4

Amazon SES - Mediation

author
Talend Documentation Team
EnrichVersion
6.4
EnrichProdName
Talend Data Fabric
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for ESB
Talend Real-Time Big Data Platform
task
Data Governance > Third-party systems > Amazon services (Mediation) > Amazon SES components (Mediation)
Data Quality and Preparation > Third-party systems > Amazon services (Mediation) > Amazon SES components (Mediation)
Design and Development > Third-party systems > Amazon services (Mediation) > Amazon SES components (Mediation)
EnrichPlatform
Talend Studio

Procedure

  1. Double-click the cAWSConnection component to display its Basic settings view in the Component tab.
  2. In the Access Key and Secret Key fields, enter the authentication credentials.
  3. Double-click the cTimer component to open its Basic settings view in the Component tab.
  4. In the Repeat field, enter 1 to generate the message exchange one time. Keep the default settings of the other options.
  5. Double-click the cSetBody component to open its Basic settings view in the Component tab.
  6. Select CONSTANT from the Language drop-down list and type in "Hello world" in the Expression field as the message body.
  7. Double-click the cAWSSES component to open its Basic settings view in the Component tab.
  8. In the Connection list, select the cAWSConnection component that you have just configured to connect to Amazon SES service.
    In the Subject field, enter the email subject, for example, "Hello" in this use case.
    In the From and To fields, enter the sender's email address and the destination email address respectively.
    In the Return Path field, enter the email address to which bounce notifications are to be forwarded.
    In the Reply To field, enter the email address to receive replies.
  9. Double-click the cProcessor component to display its Basic settings view in the Component tab.
  10. In the Code box, enter the following code to print the CamelAwsSesMessageId in the execution console:System.out.println("CamelAwsSesMessageId: "+exchange.getIn().getHeader("CamelAwsSesMessageId"));
  11. Press Ctrl+S to save your Route.