Configuring how the message is processed - 7.1

Amazon SQS - Mediation

author
Talend Documentation Team
EnrichVersion
7.1
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 SQS components (Mediation)
Data Quality and Preparation > Third-party systems > Amazon services (Mediation) > Amazon SQS components (Mediation)
Design and Development > Third-party systems > Amazon services (Mediation) > Amazon SQS components (Mediation)
EnrichPlatform
Talend Studio

Procedure

  1. Configure the cAWSConnection using the same properties as in the producer Route.
  2. Double-click the cAWSSQS component to display its Basic settings view in the Component tab.
  3. In the Connection list, select the cAWSConnection component to connect to Amazon's SQS service.
    In the Queue Name field, enter the name of the queue to consume the message from.
    Select the Delete Message / After Read check box and clear the If Filtered check box to delete the messages that are read and keep those that are not consumed.
  4. Double-click the cMessageFilter component to display its Basic settings view in the Component tab.
  5. Select Simple from the Language list and enter "${body} == 'hello'" in the Expression field to sort out messages with hello as the message body.
  6. Keep the default settings of the cLog component to log the message exchanges.
  7. Press Ctrl+S to save your Route.