Shreyas arya

Generation

code to explanationWed, 01 Feb 2023

@JmsListener(destination = '${workflow.execution.initiator.queue.name}') @GcsLog void onMessage(SQSTextMessage message) { processMessage(message) }

The above code will listen to the message in the workflow.execution.initiator.queue.name of the AWS SQS instance. After retrieving the message it will send it to processMessage() method.

Want to kickstart your project?Use the new AI Studio to create your code