Task #485
closedEventProcessors with same priority do not get executed
100%
Description
In my implementation, I have 4 processors listening to the same event with the same priority Integer.MIN_VALUE - are executed first in the chain.
One of my processors never gets executed with this level of priority. It works just fine with priority se to Integer.MIN_VALUE - 1.
Maybe it is a bug in my implementation, which I can't figure out, but it definitely looks like a problem in processor ordering mechanism. Desired behavior is that if there are multiple processors listening to the same event with same priority, they are executed in random order (consistent though - maybe order by class name??) , but all must be executed.
Updated by Radek Tomiška almost 7 years ago
- Status changed from New to Needs feedback
- Assignee changed from Radek Tomiška to Ondřej Kopr
- Target version changed from Diamond (7.4.0) to Citrine (7.3.0)
- % Done changed from 0 to 90
I've added support for procesors with the same order + logging:
https://wiki.czechidm.com/7.3/dev/architecture/events
https://github.com/bcvsolutions/CzechIdMng/commit/87e4630734a641c7d70a70bc20dd75bc7ee8cbc6
Could you do a feedback pls?
Updated by Ondřej Kopr almost 7 years ago
- Status changed from Needs feedback to Resolved
- % Done changed from 90 to 100
I did review:
create three processors with same order, check their start + log - works. Thank you your changes + logs processors behavior is awesome!
Updated by Ondřej Kopr almost 7 years ago
- Assignee changed from Ondřej Kopr to Radek Tomiška
Updated by Radek Tomiška almost 7 years ago
- Status changed from Resolved to Closed