You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For an example configuration, check out this file: [`SqsMessageBusSettings`](../src/SlimMessageBus.Host.AmazonSQS/SqsMessageBusSettings.cs). The settings allow you to customize the SQS client object and control topology provisioning for advanced scenarios.
49
-
50
-
## Amazon SNS
53
+
For an example configuration, check out this file: [`SqsMessageBusSettings`](../src/SlimMessageBus.Host.AmazonSQS/SqsMessageBusSettings.cs). The settings allow you to customize the SQS and SNS client object and control topology provisioning for advanced scenarios.
51
54
52
-
Support for Amazon SNS (Simple Notification Service) will be added soon to this transport plugin.
55
+
The plugin supports both SQS (Simple Queue Service Queues) and SNS (Simple Notification Service).
56
+
However, if you want to use just one specify the `mode` parameter in either `.UseStaticCredentials(mode: SqsMessageBusMode.Sqs)` or `.UseStaticCredentials(mode: SqsMessageBusMode.Sns)`.
53
57
54
58
## Producing Messages
55
59
@@ -72,7 +76,6 @@ TMessage msg;
72
76
73
77
// Send msg to "some-queue"
74
78
awaitbus.Publish(msg, "some-queue");
75
-
76
79
// OR
77
80
78
81
// Send msg to "some-topic"
@@ -102,35 +105,36 @@ Note that if no explicit configuration is provided, the system assumes the messa
102
105
103
106
## Consuming Messages
104
107
105
-
To consume messages of type `TMessage` by `TConsumer` from an Amazon SNS topic named `some-topic`:
108
+
To consume messages of type `TMessage` by `TConsumer` from an Amazon SQS queue named `some-queue`:
For an example configuration, check out this file: [`SqsMessageBusSettings`](../src/SlimMessageBus.Host.AmazonSQS/SqsMessageBusSettings.cs). The settings allow you to customize the SQS client object and control topology provisioning for advanced scenarios.
34
+
For an example configuration, check out this file: [`SqsMessageBusSettings`](../src/SlimMessageBus.Host.AmazonSQS/SqsMessageBusSettings.cs). The settings allow you to customize the SQS and SNS client object and control topology provisioning for advanced scenarios.
33
35
34
-
## Amazon SNS
35
-
36
-
Support for Amazon SNS (Simple Notification Service) will be added soon to this transport plugin.
36
+
The plugin supports both SQS (Simple Queue Service Queues) and SNS (Simple Notification Service).
37
+
However, if you want to use just one specify the `mode` parameter in either `.UseStaticCredentials(mode: SqsMessageBusMode.Sqs)` or `.UseStaticCredentials(mode: SqsMessageBusMode.Sns)`.
37
38
38
39
## Producing Messages
39
40
@@ -56,7 +57,6 @@ TMessage msg;
56
57
57
58
// Send msg to "some-queue"
58
59
awaitbus.Publish(msg, "some-queue");
59
-
60
60
// OR
61
61
62
62
// Send msg to "some-topic"
@@ -86,35 +86,36 @@ Note that if no explicit configuration is provided, the system assumes the messa
86
86
87
87
## Consuming Messages
88
88
89
-
To consume messages of type `TMessage` by `TConsumer` from an Amazon SNS topic named `some-topic`:
89
+
To consume messages of type `TMessage` by `TConsumer` from an Amazon SQS queue named `some-queue`:
0 commit comments