Amqmdnet - Is it performant to open/close the queue for each message?
问题 We have some code to send messages to a queue. It's using the amqmdnet dll version 8.0.0.6. The queue manager (Queuemanager) is instantiated once at the start of the application and used throughout. As messages are sent, a queue object is created and then closed. Should we create a queue object for each message or is it better to use just one instance? We are writing messages only, no reads. Here's some code: public QueueResult Enqueue(string message) { QueueResult result; using (var queue =