-
Notifications
You must be signed in to change notification settings - Fork 224
Retry Support #252
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Retry Support #252
Changes from 6 commits
1883727
6b9f071
95450aa
4511728
115e44d
10c97e1
13da52f
1affee4
b1d9f1d
6ac3ad0
4850606
f30f35e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ class ExecutionConsumer implements Runnable { | |
|
||
@Override | ||
public void run() { | ||
PostExecutionControl postExecutionControl = eventDispatcher.handleEvent(executionScope); | ||
PostExecutionControl postExecutionControl = eventDispatcher.handleExecution(executionScope); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. just loud thinking, wouldn't the code be simpler if we had 2 ExecutionConsumers called There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @psycho-ir thing is this is closely relates with the events are comming in while the controller is executed, that layer does not have enough info basically now. (Also its just really a wraper around executor). |
||
defaultEventHandler.eventProcessingFinished(executionScope, postExecutionControl); | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about turning it into an interface extended by RetryExecution and implemented by GenericRetryExecution?
so the execution can be returned as info and no need to instantiate a new RetryInfo on every call.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hehe, I like to work with Pojos, but will check how that would look like, I change it in case its nice.