Search code examples
c#.net-coreamazon-sqsmasstransit

Getting SQS queue attribute via MassTransit


I'm currently learning SQS/MassTransit and would like to know if there's a way to get queue attributes via MassTransit(such as ApproximateNumberOfMessages). I know I can do this with AmazonSQSClient's GetQueueAttributesRequest, just wondering if the same can be done with MassTransit.So far googling yielded no results.


Solution

  • MassTransit doesn't expose any of these attributes, you'd need to use the transport-specific client libraries.