Procedure
-
Click the Code tab at the bottom of the
design workspace to check the generated code.
As shown above, the message flow from
sqsconsumer_cAWSSQS_3
, is filtered bysqsconsumer_cMessageFilter_1
, and then routed tosqsconsumer_cLog_1
. -
Press F6 to execute the Route. The messages with the
body
hello
are consumed and are printed in the console. -
In the SQS Web Console, you can see that there are now 3 three messages left in the queue
talend-com-tesb-camel-sqs
.
The two messages with the body
hello
have been consumed and deleted as configured in the cAWSSQS component.