You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ha...@apache.org on 2026/05/17 19:35:45 UTC

(activemq-nms-amqp) branch main updated: Fix NmsMessageConsumer's AsyncListener Event Property

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 <21...@users.noreply.github.com>
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: commits-unsubscribe@activemq.apache.org
For additional commands, e-mail: commits-help@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact