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.

Questions about programming?Chat with your personal AI assistant