fix(exclude): ban the exclusive mode

This commit is contained in:
YuehuCao 2025-09-17 13:32:28 +08:00
parent 3301aec1d5
commit 9939a3f430

View File

@ -39,7 +39,7 @@ class AsyncMQSubscriber(AsyncMQClient):
try:
await self.bind(max_retries=5, event_loop=event_loop)
await self.queue.consume(
no_ack=False, exclusive=True, callback=self.process_incoming_message
no_ack=False, exclusive=False, callback=self.process_incoming_message
)
break # Exit loop if subscription is successful
except Exception as e: