|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #61313 AMQPQueue::cancel is unusable
Submitted: 2012-03-07 08:00 UTC Modified: 2013-04-17 15:27 UTC
From: glen dot mailer at bskyb dot com Assigned: bkw (profile)
Status: Closed Package: amqp (PECL)
PHP Version: Irrelevant OS: Any
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: glen dot mailer at bskyb dot com
New email:
PHP Version: OS:


 [2012-03-07 08:00 UTC] glen dot mailer at bskyb dot com
basic.cancel is used to cancel the action of a previous basic.consume call.

However, this package lets the server generate the consumer tag, and throws away the return value of librabbitmq's amqp_basic_consume function - therefore there's no way of knowing what the consumer tag for the consumption is, and no way of cancelling it.

This manifests itself as any messages being sent to an unreadable buffer if using AMQPQueue::consume and returning FALSE.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2012-11-14 01:13 UTC] bkw at codingforce dot com
This has been fixed in version 1.0.9 of the library.
We're still working on getting the documentation updated, but you can read all 
about this particular case here:
 [2013-04-17 15:27 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: bkw
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Mon Mar 27 11:03:36 2023 UTC