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

Middlewares are now like in Symfony + can disable default middlewares #5

Merged
merged 1 commit into from
Aug 7, 2023

Conversation

JanMikes
Copy link
Contributor

@JanMikes JanMikes commented Aug 6, 2023

  • Added DispatchAfterCurrentBusMiddleware to the stack
  • Added defaultMiddlewares: bool configuration to the bus to be able to disable default middlewares
  • Custom user middlewares are now in between

Before:

  • ... custom middlewares ...
  • AddBusNameStampMiddleware
  • FailedMessageProcessingMiddleware
  • SendMessageMiddleware
  • HandleMessageMiddleware

After:

as described in symfony docs

  • AddBusNameStampMiddleware
  • FailedMessageProcessingMiddleware
  • DispatchAfterCurrentBusMiddleware
  • ... custom middlewares ...
  • SendMessageMiddleware
  • HandleMessageMiddleware

@JanMikes JanMikes marked this pull request as ready for review August 6, 2023 23:25
@f3l1x f3l1x merged commit f99f6aa into contributte:master Aug 7, 2023
6 checks passed
@f3l1x
Copy link
Member

f3l1x commented Aug 7, 2023

Excellent :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants