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

[amqp-ext] Unrecognized options "login, password, delay_plugin_installed" under "enqueue.transport.rabbitmq_amqp #309

Closed
cedricmagne opened this issue Jan 2, 2018 · 6 comments · Fixed by php-enqueue/magento-enqueue#1
Labels

Comments

@cedricmagne
Copy link

When send a message with Magento Enqueue module and AMQP-Ext i get this error :

Symfony\Component\Config\Definition\Exception\InvalidConfigurationException: Unrecognized options "login, password, delay_plugin_installed" under "enqueue.transport.rabbitmq_amqp" in /var/www/html/vendor/symfony/config/Definition/ArrayNode.php on line 319
Send a message with :
Mage::helper('enqueue')->send('a_topic', 'aMessage');

My composer file :
{ "require": { "magento-hackathon/magento-composer-installer": "~3.0", "enqueue/magento-enqueue": "*@dev", "enqueue/amqp-ext": "^0.8.11" }, "extra": { "magento-root-dir": "." } }

php --ri amqp give :
`amqp

Version => 1.9.3
Revision => release
Compiled => Jan 2 2018 @ 15:19:00
AMQP protocol version => 0-9-1
librabbitmq version => 0.8.0
Default max channels per connection => 256
Default max frame size => 131072
Default heartbeats interval => 0

Directive => Local Value => Master Value
amqp.host => localhost => localhost
amqp.vhost => / => /
amqp.port => 5672 => 5672
amqp.timeout => no value => no value
amqp.read_timeout => 0 => 0
amqp.write_timeout => 0 => 0
amqp.connect_timeout => 0 => 0
amqp.login => guest => guest
amqp.password => guest => guest
amqp.auto_ack => 0 => 0
amqp.prefetch_count => 3 => 3
amqp.channel_max => 256 => 256
amqp.frame_max => 131072 => 131072
amqp.heartbeat => 0 => 0
amqp.cacert => no value => no value
amqp.cert => no value => no value
amqp.key => no value => no value
amqp.verify => 1 => 1`

Stack Trace :
# Time Memory Function Location 1 0.0015 253472 {main}( ) .../test.php:0 2 6.7129 7417072 Enqueue_Enqueue_Helper_Data->send( ) .../test.php:27 3 6.7129 7417120 Enqueue_Enqueue_Helper_Data->getProducer( ) .../Data.php:47 4 6.7129 7417208 Enqueue_Enqueue_Helper_Data->getClient( ) .../Data.php:55 5 6.7655 7479792 Enqueue\SimpleClient\SimpleClient->__construct( ) .../Data.php:64 6 6.7656 7479912 Enqueue\SimpleClient\SimpleClient->buildContainer( ) .../SimpleClient.php:80 7 7.2987 8586736 Symfony\Component\DependencyInjection\ContainerBuilder->compile( ) .../SimpleClient.php:266 8 8.0862 9654336 Symfony\Component\DependencyInjection\Compiler\Compiler->compile( ) .../ContainerBuilder.php:753
Thank you,
Cedric.

@makasim
Copy link
Member

makasim commented Jan 2, 2018

Thanks for reporting it! Could you please try the fix?

@makasim makasim added the bug label Jan 2, 2018
@cedricmagne
Copy link
Author

cedricmagne commented Jan 2, 2018 via email

@makasim
Copy link
Member

makasim commented Jan 3, 2018

@magensys Should be fixed.

@cedricmagne
Copy link
Author

cedricmagne commented Jan 3, 2018 via email

@makasim
Copy link
Member

makasim commented Jan 3, 2018

Amqp spec does define how to send prioritized or delayed messages. rabbitmq_amqp uses some RabbitMQ specific things to cover that features.

@cedricmagne
Copy link
Author

cedricmagne commented Jan 3, 2018 via email

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

Successfully merging a pull request may close this issue.

2 participants