alchemy-fr / rabbitmq-management-api-client Goto Github PK
View Code? Open in Web Editor NEWA OO PHP client for the RabbitMQ Management Plugin API
Home Page: https://rabbitmq-management-api-client.readthedocs.org/
License: Other
A OO PHP client for the RabbitMQ Management Plugin API
Home Page: https://rabbitmq-management-api-client.readthedocs.org/
License: Other
I am using RabbitMQ 3.2.2.
When I want to use listQueues() function , I get this error message :
Entity RabbitMQ\Management\Entity\Queue does not have property status
When I add new variable public $status; to RabbitMQ\Management\Entity\Queue.php
everything work fine.
Could you add support to retrieve the information from /api/nodes
?
I think supported versions of Guzzle are 6.x (maybe 5.x) but this library requires ~3 which means it conflicts with anything else using more up-to-date versions of Guzzle.
Not sure what's involved in changing to that of later versions of Guzzle - but probably not much more than updating composer (I'm guessing?)
Can make PR for that but couldn't verify everything would work again.
Here is the log:
Fatal error: Call to undefined method Guzzle\Http\Exception\CurlException::getResponse()
$HOME/vendor/alchemy/rabbitmq-management-client/src/RabbitMQ/Management/APIClient.php
I think getResponse() method should be changed by the getError() method.
Thanks!
has this library been superseded by any other? just curious I am trying to create a synchronous client to wrap it into a provider https://github.com/uecode/qpush-bundle/pull/26/files#diff-54bbf52c65c53880b01ba83fab85607bR55
I was trying to look at this too
https://github.com/videlalvaro/RabbitMqBundle/
I guess both libraries this and the RabbitMqBundle (@videlalvaro) complement each other? or which ones i would need to do such a client? I wished the RabbitMqBundle would be a library and not a bundle!
Entity RabbitMQ\Management\Entity\Queue does not have property consumer_utilisation
Entity RabbitMQ\Management\Entity\Queue does not have property state
Adding this at the top of Queue.php serves as a quick fix:
public $consumer_utilisation;
public $state;
When running Asynchronous Queries example I get exceptions like this:
exception 'InvalidArgumentException' with message 'Entity RabbitMQ\Management\Entity\Queue does not have property recoverable_slaves'
Sounds like the Queue class is lack of 'recoverable_slaves', 'disk_reads' and 'disk_writes' property.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.