Skip to content
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

OnEventInvokeStrategyPlugin broken #150

Closed
mablae opened this issue Jan 7, 2017 · 0 comments
Closed

OnEventInvokeStrategyPlugin broken #150

mablae opened this issue Jan 7, 2017 · 0 comments
Assignees
Labels
Milestone

Comments

@mablae
Copy link
Member

mablae commented Jan 7, 2017

As discussed with @prolic:

https://github.com/prooph/service-bus/blob/develop/src/Plugin/InvokeStrategy/AbstractInvokeStrategy.php#L35

=> Extend the AbstractPlugin instead of the AbstractInvokeStrategy

and adjust the code to handle each listener:

$handlers = $actionEvent->getParam(EventBus::EVENT_PARAM_EVENT_LISTENERS);

foreach ($handlers as $handler) {
    $this->invoke($handler, $message);
}

=> Add testcase

@prolic prolic added the bug label Jan 7, 2017
@prolic prolic added this to the 6.0 Release milestone Jan 7, 2017
mablae added a commit to mablae/service-bus that referenced this issue Jan 7, 2017
@prolic prolic closed this as completed Jan 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants