Configure the cAWSConnection using the
same properties as in the producer Route.
Double-click the cAWSSQS component to display its
Basic settings view in the Component tab.
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.
Double-click the cMessageFilter component
to display its Basic settings view in the
Component tab.
Select Simple from the
Language list and enter "${body}
== 'hello'" in the Expression
field to sort out messages with hello as the message body.
Keep the default settings of the cLog component to
log the message exchanges.
Press Ctrl+S to save your Route.
Did this page help you?
If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!