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

symfony/scheduler support #50

Open
kbond opened this issue Mar 27, 2023 · 0 comments
Open

symfony/scheduler support #50

kbond opened this issue Mar 27, 2023 · 0 comments

Comments

@kbond
Copy link
Contributor

kbond commented Mar 27, 2023

I don't believe this bundle will support symfony/scheduler messages out of the box. This is because the SendMessageToTransportsEvent isn't fired when dispatching scheduled messages.

I think what we'd need to do to support is:

  1. WorkerMessageReceivedEvent: if scheduled message:
    • create/persist StoredMessage with $dispatchedAt === $receivedAt
    • add MonitorIdStamp here
  2. WorkerMessageHandledEvent: update as normal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant