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

Issue with multiple senders - enveloping same message more than once #39

Closed
cgonser opened this issue Dec 3, 2018 · 1 comment
Closed

Comments

@cgonser
Copy link

cgonser commented Dec 3, 2018

I have multiple senders configured and everything was working fine until I updated to the latest messenger version.

After some debugging, I realized that the message is being enveloped more than once here.

I also noticed that the $message variable gets redefined here - it was originally an Envelope instance containing my original message under the message parameter and it becomes an instance of \Interop\Amqp\Impl\AmqpMessage, which gets enveloped and returned in the end of this method.

It seems that the issue also started after this change on the MiddlewareInterface, as the $envelope variable now gets redefined after each iteration.

@ogizanagi
Copy link
Contributor

See #43

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

2 participants