You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@activemq.apache.org by GitBox <gi...@apache.org> on 2021/09/21 20:47:52 UTC
[GitHub] [activemq-nms-api] Havret commented on a change in pull request #26: AMQNET-735 Add AsyncMessageListener to Consumer API
Havret commented on a change in pull request #26:
URL: https://github.com/apache/activemq-nms-api/pull/26#discussion_r713406984
##########
File path: src/nms-api/IMessageConsumer.cs
##########
@@ -69,10 +75,15 @@ public interface IMessageConsumer : System.IDisposable
IMessage ReceiveNoWait();
/// <summary>
- /// An asynchronous listener which can be used to consume messages asynchronously
Review comment:
Because the docs are misleading. This is callback style synchronous event handler. It doesn't allow you to run any async conde inside without blocking as it returns `void` instead of task.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: gitbox-unsubscribe@activemq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org