[rabbitmq-discuss] RabbitMQ capabilities

Matthias Radestock matthias at lshift.net
Tue Nov 18 11:27:01 GMT 2008


Michael,

Michael Arnoldus wrote:
> Actually - reading through this one more time
>>
>>> 2. Returning messages with no consumers (page 20 line 10-11)
>>
>> When the 'immediate' flag is set in basic.publish, any messages that 
>> cannot be immediately sent to some consumer is returned to the 
>> publishing client with basic.return.
> 
> But immediatly isn't exactly the same as no consumer is it?

Correct. 'immediate' handles the case of no *ready* consumer.

> If the message can be routed to a queue that has a consumer, but
> there's a message buildup on the queue so it can't be delivered
> immediately, what then?

In that case the message will be returned with basic.return.

There is no flag/mechanism to have a message returned only when no 
consumers are present.


Matthias.




More information about the rabbitmq-discuss mailing list