[rabbitmq-discuss] Java client and Qpid

Simon MacMullen simon at rabbitmq.com
Fri Jun 14 17:52:15 BST 2013


On 14/06/13 17:43, Dmitry Andrianov wrote:
> Unfortunately I do not know the protocol well enough to understand if
>  Qpid violates it by sending me a message before sending reply to
> basicConsume request or not. Without reading the specs I would assume
>  that this behaviour is a valid one and it is RabbitMQ Java client
> that needs to be more tolerant.

 From the spec:

> Section 4.6, Content Synchronisation:
>
> In certain cases synchronous request-response methods have an impact
> on asynchronous content delivery on the same channel, including:
>
> * The Basic.Consume and Basic.Cancel methods, which start and stop
> the flow of messages from a message queue.

[Snip a couple of other cases]

> Guidelines for implementers:
>
> * The effects of the request-response MUST NOT be visible on the
> channel before the response method, and MUST be visible thereafter.

So I'm afraid it's QPid at fault. (Which version are you using? I
thought they had abandoned support for AMQP 0-9-1 some time ago.)

Cheers, Simon

-- 
Simon MacMullen
RabbitMQ, Pivotal


More information about the rabbitmq-discuss mailing list