Skip to content

Fix some AMQP issues#393

Merged
mbabker merged 2 commits intoGeniusesOfSymfony:masterfrom
alexismarquis:master
Aug 27, 2019
Merged

Fix some AMQP issues#393
mbabker merged 2 commits intoGeniusesOfSymfony:masterfrom
alexismarquis:master

Conversation

@alexismarquis
Copy link
Copy Markdown
Contributor

This PR fixes two issues with the AMQP pusher I ran into when updating to latest version, both happening when trying to use the pusher.

Could not create channel. No connection available.

The exchange was being created before establishing the connection

AMQPExchange::publish() expects parameter 2 to be string, null given

I changed the default routing key from null to an empty string since it seems that the \AMQPExchange::publish method signature has explicit type hints with php 7.

@mbabker mbabker merged commit 3e5e1ea into GeniusesOfSymfony:master Aug 27, 2019
@mbabker
Copy link
Copy Markdown
Contributor

mbabker commented Aug 27, 2019

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants