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
Copy file name to clipboardExpand all lines: docs.md
+13-16Lines changed: 13 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,17 +9,12 @@ The sample consists of 4 applications hosting MassTransit message producers and
9
9
10
10

11
11
12
-
`ClientUI` application generates `PlaceOder` messages at continuous rate that trigger follow-up message flow in the other parts of the system.
12
+
`ClientUI` application generates `PlaceOrder` messages that trigger follow-up message flows in the other parts of the system.
13
13
14
14
### Experiencing failures
15
15
16
-
In the UI, press the `Run scenario` button.
17
-
18
-
All consumers provide ability to change message processing failure rate by pressing <kbd>I</kbd> to increase and <kbd>D</kbd> to decrease it. Each consumer application shows a list of available commands and a summary of currently used configuration values.
19
-
20
-
````
21
-
22
-
For example, whenever the `Billing` consumer fails to process a message, a log entry gets printed to the command line window, and the message is moved to the `bill-order_error` queue.
16
+
In the UI, press the `Run scenario` button. This will generate a set of `PlaceOrder` messages, configured to fail at different consumers through the showcase.
17
+
For example, whenever the `Billing` consumer fails to process a message, the message is moved to the `bill-order_error` queue.
at MassTransit.DependencyInjection.ScopeConsumerFactory`1.Send[TMessage](ConsumeContext`1 context, IPipe`1 next) in /_/src/MassTransit/DependencyInjection/DependencyInjection/ScopeConsumerFactory.cs:line 22
31
26
at MassTransit.DependencyInjection.ScopeConsumerFactory`1.Send[TMessage](ConsumeContext`1 context, IPipe`1 next) in /_/src/MassTransit/DependencyInjection/DependencyInjection/ScopeConsumerFactory.cs:line 22
32
27
at MassTransit.Middleware.ConsumerMessageFilter`2.MassTransit.IFilter<MassTransit.ConsumeContext<TMessage>>.Send(ConsumeContext`1 context, IPipe`1 next) in /_/src/MassTransit/Middleware/ConsumerMessageFilter.cs:line 48
33
-
````
28
+
```
34
29
35
30
### Handling failures with the Particular Platform
36
31
37
32
#### Running the sample
38
33
39
-
In order, to see how the Particular Platfrom improves the failed messages management, start the containers responsible for running the platform:
34
+
To see how the Particular Platfrom improves failed message management, start the containers responsible for running the platform:
40
35
41
36
### **RabbitMQ**
42
37
@@ -63,31 +58,33 @@ Run docker command below from the `src` folder in a CLI
63
58
docker compose -f docker-compose-base.yml -f compose-azure.yml --env-file asb.env up -d
64
59
```
65
60
66
-
This will make the platform monitor error messages for all the consumers in the sample system. Upon failure any moved by a MassTransit consumer to an error queue will be ingest and index by the platform.
61
+
This will make the platform monitor error messages for all the consumers in the sample system. Upon failure, any message moved by a MassTransit consumer to an error queue will be ingested by the platform.
67
62
68
63
#### Inspecting failures
69
64
70
-
Navigate to [http://localhost:9090](http://localhost:9090), or click the `View in ServicePulse` button to see the details on the failures ingested by the platform.
65
+
Navigate to [http://localhost:9090](http://localhost:9090), or click the `View in ServicePulse` button to see the details on failures ingested by the platform.
Click on the "Failed Messages" button at the top of the page to see all failed messages ingested by the platform grouped by the exception trype and stack trace.
71
+
Click on the "Failed Messages" button at the top of the page to see all failed messages ingested by the platform, grouped by the exception type and stack trace.
Drilling into an existing group to see the list of individual processing failures. Clicking on any
81
-
of the rows in the list shows detailed information on a given failed message in the headers and message body tabs.
75
+
Drill into an existing group to see the list of individual processing failures. Clicking on any of the rows in the list shows detailed information of a given failed message in the headers and message body tabs.
82
76
83
77
A failed message can be scheduled for reprocessing by clicking the `Retry message` button.
Go to the details page for one of the failed messages and click the `Edit & retry` button at the top. The pop-up window shows the headers collection and the message body in two separate tabs.
83
+
Go to the details page for one of the failed messages and click the `Edit & retry` button. The pop-up window shows the headers collection and the message body in two separate tabs.
90
84
91
85
Navigate to the `Message Body` tab, change the last digit of the `orderId` value, and click "Retry" to schedule the message for reprocessing.
92
86
87
+
> [!WARNING]
88
+
> Changing or deleting header values may change or cause issues with the subsequent re-processing. It is recommended that these values are not changed if you are unsure of their purpose.
89
+
93
90

0 commit comments