awslabs/aws-dotnet-messaging

Question: Is it possible to use the scoped services within a message poller ?

madhub opened this issue · 3 comments

For ASP.NET core REST API , we have way to inject scoped dependencies , its good to provide similar capability for message poller.
Something similar to Use scoped services within a BackgroundService. Scope can be individual message pulled from queue or a group of message pulled.

normj commented

Excellent point, we should create a scope message handler invocation.

was this resolved by the linked PR?

madhub commented

was this resolved by the linked PR?

Yes, resolved, closing the issue now