michaelandrepearce commented on a change in pull request #17:
URL: https://github.com/apache/activemq-nms-api/pull/17#discussion_r553290854
##########
File path: src/nms-api/NMSConnectionFactory.cs
##########
@@ -424,6 +425,36 @@ public INMSContext CreateContext(string userName, string
password, Acknowledgeme
return this.factory.CreateContext(userName, password,
acknowledgementMode);
}
+ public Task<IConnection> CreateConnectionAsync()
+ {
+ return this.factory.CreateConnectionAsync();
+ }
+
+ public Task<IConnection> CreateConnectionAsync(string userName, string
password)
+ {
+ return this.factory.CreateConnectionAsync(userName, password);
+ }
+
+ public Task<INMSContext> CreateContextAsync()
+ {
+ return this.factory.CreateContextAsync();
+ }
+
+ public Task<INMSContext> CreateContextAsync(AcknowledgementMode
acknowledgementMode)
+ {
+ return this.factory.CreateContextAsync(acknowledgementMode);
+ }
+
+ public Task<INMSContext> CreateContextAsync(string userName, string
password)
+ {
+ return this.factory.CreateContextAsync(userName, password);
+ }
+
+ public Task<INMSContext> CreateContextAsync(string userName, string
password, AcknowledgementMode acknowledgementMode)
Review comment:
What about INMSProducer and INMSConsumer interfaces?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]