Skip to content

Commit ec9f454

Browse files
authored
Update test-locally-with-service-bus-emulator.md
1 parent 61f66ad commit ec9f454

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

articles/service-bus-messaging/test-locally-with-service-bus-emulator.md

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ To run the Service Bus emulator locally on Linux or macOS:
5757
5858
1. To start the emulator, supply a configuration for the entities that you want to use. Save the following JSON file locally as _config.json_:
5959
60-
```JSON
60+
61+
```JSON
6162
{
6263
"UserConfig": {
6364
"Namespaces": [
@@ -106,16 +107,15 @@ To run the Service Bus emulator locally on Linux or macOS:
106107
"Properties": {
107108
"FilterType": "Correlation",
108109
"CorrelationFilter": {
109-
"ContentType": "application/json"
110-
// Other supported properties
111-
// "CorrelationId": "id1",
112-
// "Label": "subject1",
113-
// "MessageId": "msgid1",
114-
// "ReplyTo": "someQueue",
115-
// "ReplyToSessionId": "sessionId",
116-
// "SessionId": "session1",
117-
// "To": "xyz"
118-
}
110+
"ContentType": "application/text",
111+
"CorrelationId": "id1",
112+
"Label": "subject1",
113+
"MessageId": "msgid1",
114+
"ReplyTo": "someQueue",
115+
"ReplyToSessionId": "sessionId",
116+
"SessionId": "session1",
117+
"To": "xyz"
118+
}
119119
}
120120
}
121121
]
@@ -193,8 +193,7 @@ To run the Service Bus emulator locally on Linux or macOS:
193193
}
194194
}
195195
}
196-
197-
```
196+
```
198197

199198
2.To spin up containers for Service Bus emulator, save the following .yaml file as _docker-compose.yaml_
200199

0 commit comments

Comments
 (0)