Skip to content

Commit 4e64bfc

Browse files
committed
Allow amqps:// URLs
1 parent 6497bb6 commit 4e64bfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ServiceStack.RabbitMq/RabbitMqMessageFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public RabbitMqMessageFactory(string connectionString = "localhost",
4545
if (password != null)
4646
ConnectionFactory.Password = password;
4747

48-
if (connectionString.StartsWith("amqp://"))
48+
if (connectionString.StartsWith("amqp://") || connectionString.StartsWith("amqps://"))
4949
{
5050
ConnectionFactory.Uri = new Uri(connectionString);
5151
}

0 commit comments

Comments
 (0)