Closed
Description
Search before asking
- I had searched in the issues and found no similar issues.
Environment
Mac
EventMesh version
master
What happened
In the BROADCAST
strategy of AbstractHttpSinkHandler
, the attributes map is updated within the loop instead of being assigned once before the loop. This causes a logic error that may prevent the callback operation from executing properly.
Expected behavior:
The attributes.put(MultiHttpRequestContext.NAME, new MultiHttpRequestContext(urls.size()))
statement should be placed outside the loop to ensure that the attribute is set only once, rather than being overwritten in each iteration.
How to reproduce
None
Debug logs
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct *