Commit 7849085
Skip address lookup for PUBLISH error messages (fixes #9)
A publish error is returned to the publisher as a PUBLISH message with
the isError flag set. The publisher is not a MAL provider for the PUBLISH
operation, so the unconditional lookupAddress at the _PUBLISH_STAGE
dispatch always failed for it and logged a spurious warning:
"lookupAddress failed to find local endpoint for ...". Delivery of the
error was unaffected because handlePublish already ignores the address
for error messages and dispatches via the publish listener map.
Only perform the address lookup for non-error PUBLISH messages (the
broker path). The NOTIFY path already avoided the lookup.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 878a490 commit 7849085
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
192 | | - | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
193 | 201 | | |
194 | 202 | | |
195 | 203 | | |
| |||
0 commit comments