Skip to content

Commit b6ba42a

Browse files
committed
Support amqps uri schemas
The documentation would suggest that you can just use amqps:// uris with the nms.amqp provider, but sadly this doesn't work without a specific config file. Secure amqps should work, and should not need extra work.
1 parent ac14507 commit b6ba42a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/nms-api/NMSConnectionFactory.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ static NMSConnectionFactory()
7575
new ProviderFactoryInfo("Apache.NMS.ZMQ", "Apache.NMS.ZMQ.ConnectionFactory");
7676
schemaProviderFactoryMap["amqp"] =
7777
new ProviderFactoryInfo("Apache.NMS.AMQP", "Apache.NMS.AMQP.ConnectionFactory");
78+
schemaProviderFactoryMap["amqps"] =
79+
new ProviderFactoryInfo("Apache.NMS.AMQP", "Apache.NMS.AMQP.ConnectionFactory");
7880
}
7981

8082
/// <summary>

0 commit comments

Comments
 (0)