|
|||||||||||||||||||||||||||||||||||||||||||||||||
Profile WorkflowThis profile receives data from another profile through the SQS queue (either a full message or a message with no body but with an identifier pointing to the S3 storage containing the required data), if required, retrieves the data from a dedicated S3 bucket, performs required processing, and sends back the results to the SQS queue of another profile. The profile contains the following routes: This route demonstrates a typical approach for receiving data through the SQS. The route picks up a message from the SQS queue and checks if this message contains the message body to determine if retrieving data from an S3 bucket is required. The route then sends the data for processing on the subroute. Route StructureRoute Components
Use this route template to provide custom logic for data processing. By default, the route is configured to validate the data, generate acknowledgments, and send the results to the subroute that handles sending data back to the other profile. Note AWS SQS does not support multi-message exchanges. Route StructureRoute Components
This route demonstrates a typical approach for sending data through the SQS. First, the route checks the resulting file's size. If the data is too large, the profile saves the message body to an assigned S3 bucket with a unique key-object identifier. The route then transfers either this key or the full file to the SQS queue of the other profile. Route StructureRoute Components
|



