Rebus.AmazonSQS icon indicating copy to clipboard operation
Rebus.AmazonSQS copied to clipboard

manually "receive" a message to the bus

Open stevenrobertscrew opened this issue 9 months ago • 0 comments

I use Rebus to send a message to an SQS queue from an Api. I am then processing the message with a lambda with the signature of

public async Task FunctionHandler(SQSEvent evt, ILambdaContext context)

Of course, the SQSEvent has many records, each being a queue message. I know that the body of the message looks like a typical Rebus message. What I want to do is get that message and "give" it to Rebus to handle. The short answer I think is no, this doesn't even make sense but I thought I would ask and perhaps you have a different idea of how you'd handle this scenario.

stevenrobertscrew avatar May 03 '24 20:05 stevenrobertscrew