We are using Amazon MQ which internally use ActiveMQ. We can trigger AWS lambda function whenever ActiveMQ receives a message. I wrote a lambda function which reads the message from an SQS event. We have a type called SQSevent
which we can capture, but in the case of Amazon MQ I don't know what type of function signature to be used.
For SQS we use this:
ProcessSQSMessage( SQSEvent event1, ILambdaContext context)
I don't know what to use for Amazon MQ:
?ProcessMQMessage( ?? )
Please help. I don't have access to AWS from local so checking before deploying code.