txamqp-dev team mailing list archive
-
txamqp-dev team
-
Mailing list archive
-
Message #00007
Re: ValueError
Hi Dan
On Mon, Aug 31, 2009 at 9:04 PM, Dan Reverri<reverri@xxxxxxxxx> wrote:
> You'll notice on line 32 I am not yielding the basic_cancel method. This
> causes a ValueError exception. If I yield on that method everything works
> fine. I just wanted to confirm this is working correctly.
That's correct. AMQP requires that frames must be sent sequentially,
that's why txAMQP uses a queue for sending outgoing messages in order.
The same applies for incoming frames, and as such, responses will come
in the same order as the frames they repond to.
Cheers.
References