This is an automated email from the ASF dual-hosted git repository.
Havret pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-nms-amqp.git
The following commit(s) were added to refs/heads/main by this push:
new 6a3a2e5 Fix NmsMessageConsumer's AsyncListener Event Property
6a3a2e5 is described below
commit 6a3a2e5f4d0ce92d08c864c0b9667717b2f54c0c
Author: CodersRealm <[email protected]>
AuthorDate: Sun May 17 12:35:39 2026 -0700
Fix NmsMessageConsumer's AsyncListener Event Property
---
src/NMS.AMQP/NmsMessageConsumer.cs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/NMS.AMQP/NmsMessageConsumer.cs
b/src/NMS.AMQP/NmsMessageConsumer.cs
index dc20c0b..2df822c 100644
--- a/src/NMS.AMQP/NmsMessageConsumer.cs
+++ b/src/NMS.AMQP/NmsMessageConsumer.cs
@@ -125,7 +125,7 @@ namespace Apache.NMS.AMQP
}
remove
{
- using (syncRoot.LockAsync())
+ using (syncRoot.Lock())
{
AsyncListener -= value;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact