Commit 52df7e6
authored
Improve error message when attempting to change consumer type (#6408)
Before this change, an attempt to change consumer type (by either
setting or removing deliver subject), resulted in `max waiting can not
be updated` error as `MaxWaiting` has a default value for pull
consumers. This ensures that changing consumer type is checked before
max waiting to return a more useful error message.
Signed-off-by: Piotr Piotrowski
[piotr@synadia.com](mailto:piotr@synadia.com)2 files changed
+45
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2099 | 2099 | | |
2100 | 2100 | | |
2101 | 2101 | | |
2102 | | - | |
2103 | | - | |
2104 | | - | |
2105 | 2102 | | |
2106 | 2103 | | |
2107 | 2104 | | |
| |||
2116 | 2113 | | |
2117 | 2114 | | |
2118 | 2115 | | |
| 2116 | + | |
| 2117 | + | |
| 2118 | + | |
| 2119 | + | |
2119 | 2120 | | |
2120 | 2121 | | |
2121 | 2122 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9279 | 9279 | | |
9280 | 9280 | | |
9281 | 9281 | | |
| 9282 | + | |
| 9283 | + | |
| 9284 | + | |
| 9285 | + | |
| 9286 | + | |
| 9287 | + | |
| 9288 | + | |
| 9289 | + | |
| 9290 | + | |
| 9291 | + | |
| 9292 | + | |
| 9293 | + | |
| 9294 | + | |
| 9295 | + | |
| 9296 | + | |
| 9297 | + | |
| 9298 | + | |
| 9299 | + | |
| 9300 | + | |
| 9301 | + | |
| 9302 | + | |
| 9303 | + | |
| 9304 | + | |
| 9305 | + | |
| 9306 | + | |
| 9307 | + | |
| 9308 | + | |
| 9309 | + | |
| 9310 | + | |
| 9311 | + | |
| 9312 | + | |
| 9313 | + | |
| 9314 | + | |
| 9315 | + | |
| 9316 | + | |
| 9317 | + | |
| 9318 | + | |
| 9319 | + | |
| 9320 | + | |
| 9321 | + | |
| 9322 | + | |
9282 | 9323 | | |
9283 | 9324 | | |
9284 | 9325 | | |
| |||
0 commit comments