Skip to content

Commit b2bdc38

Browse files
committed
Updated container name is SQL query
1 parent 72397db commit b2bdc38

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

OutboxProcessor/OrderOutboxWorker.cs

+4-4
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public static async Task Run(
3131
databaseName: "%CosmosDBDatabaseName%",
3232
collectionName: "%CosmosDBCollectionName%",
3333
ConnectionStringSetting = "CosmosDBConnectionString",
34-
SqlQuery = "select * from OrdersCreated r where r.orderProcessed = false")] IEnumerable<Document> ordersCreated,
34+
SqlQuery = "select * from Orders r where r.orderProcessed = false")] IEnumerable<Document> ordersCreated,
3535
[CosmosDB(
3636
databaseName: "%CosmosDBDatabaseName%",
3737
collectionName: "%CosmosDBCollectionName%",
@@ -44,9 +44,9 @@ public static async Task Run(
4444
)] IAsyncCollector<ServiceBusMessage> ordersToProcess,
4545
ILogger log)
4646
{
47-
/// This function is triggered off the change feed in CosmosDB. When
48-
/// new items are added to the orders container, it will be invoked
49-
/// so that the outbox transaction can be completed.
47+
// This function is triggered off the change feed in CosmosDB. When
48+
// new items are added to the orders container, it will be invoked
49+
// so that the outbox transaction can be completed.
5050

5151
if (input != null && input.Count > 0)
5252
{

0 commit comments

Comments
 (0)