[rabbitmq-discuss] Is it possible to have these settings and publish to a queue that exists yet there is no consumer
dathan at schoolfeed.com
Thu Mar 22 18:32:17 GMT 2012
I figured it out
$ret = $this->channel->publish(json_encode($data), $this->routingKey,
AMQP_IMMEDIATE, array('Content-type' => 'text/json', 'delivery_mode' =>
AMQP_IMMEDIATE is the problem it would randomly drop messages. Thanks for
making it clear for me.
On Thu, Mar 22, 2012 at 9:32 AM, Simon MacMullen <simon at rabbitmq.com> wrote:
> Yes, definitely. Messages will not leave queues unless they are consumed
> or expire.
> If you are still having trouble could you post your source code somewhere?
> Cheers, Simon
> On 22/03/12 16:28, Dathan Pattishall wrote:
>> Hey Simon,
>> Any idea on what I could look at? From the sounds of it - my settings
>> should cause rabbit to queue if the consumer is not available.
>> On Wed, Mar 21, 2012 at 8:43 AM, Dathan Pattishall
>> <dathan at schoolfeed.com <mailto:dathan at schoolfeed.com>**> wrote:
>> 120000 additionally I turned that off as well.
>> On Wed, Mar 21, 2012 at 4:51 AM, Simon MacMullen <simon at rabbitmq.com
>> <mailto:simon at rabbitmq.com>> wrote:
>> On 21/03/12 00:15, Dathan Pattishall wrote:
>> My messages have a 120 second expire time
>> Just to be clear, did you set x-message-ttl to 120 or 120000?
>> The time is in milliseconds, and what you report sounds a lot
>> like the messages expiring near-instantly.
>> Cheers, Simon
>> Simon MacMullen
>> RabbitMQ, VMware
>> rabbitmq-discuss mailing list
>> rabbitmq-discuss at lists.__rabbi**tmq.com <http://rabbitmq.com>
>> <mailto:rabbitmq-discuss@**lists.rabbitmq.com<rabbitmq-discuss at lists.rabbitmq.com>
> Simon MacMullen
> RabbitMQ, VMware
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss