Commit 56fee09
Improve exception handling in InboxConsumer
Updated the `InboxConsumer<TMessage, TDbContext>` class to
use `ExecuteUpdateAsync` for atomic updates to the `UpdatedAt`
field, ensuring better concurrency handling. Added a `throw`
statement after rollback to propagate exceptions properly.
Bumped the project version in `MassTransit.PostgresOutbox.csproj`
from `3.0.2` to `3.0.3` to reflect these changes.1 parent 842d1e5 commit 56fee09
File tree
2 files changed
+6
-4
lines changed- src/MassTransit.PostgresOutbox
- Abstractions
2 files changed
+6
-4
lines changedLines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
82 | | - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
83 | 85 | | |
84 | 86 | | |
85 | 87 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
0 commit comments