Project

General

Profile

Actions

Task #485

closed

EventProcessors with same priority do not get executed

Added by Jan Helbich almost 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Radek Tomiška
Category:
Event
Target version:
Start date:
06/06/2017
Due date:
% Done:

100%

Estimated time:
Owner:

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.

Actions #1

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
Actions #2

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!

Actions #3

Updated by Ondřej Kopr almost 7 years ago

  • Assignee changed from Ondřej Kopr to Radek Tomiška
Actions #4

Updated by Radek Tomiška almost 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF