Hello,


I'm using durable rabbitmq queues in order to "survive" server restart, but
unfortunately all queues are cleared after rabbitmq restart.


I checked that queues are durable with rabbitmqctl:


sudo rabbitmqctl list_queues name durable
Listing queues ...
reports true
snippet true


Server: 3.1.3
Client: java rabbitmq amqp driver 3.1.3


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130723/2b633ace/attachment.htm>

Search Discussions

  • Michael Klishin at Jul 24, 2013 at 8:46 am

    Daniil Gitelson:


    I checked that queues are durable with rabbitmqctl:

    sudo rabbitmqctl list_queues name durable
    Listing queues ...
    reports true
    snippet true

    If you run rabbitmqctl without specifying vhost (using the -p flag) it will list queues for the default
    vhost (/).


    Are you sure you are not declaring queues in a different vhost?
    --
    MK


    -------------- next part --------------
    A non-text attachment was scrubbed...
    Name: signature.asc
    Type: application/pgp-signature
    Size: 495 bytes
    Desc: Message signed with OpenPGP using GPGMail
    URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130724/486fbec9/attachment.pgp>
  • Matthias Radestock at Jul 24, 2013 at 8:49 am

    On 23/07/13 22:11, Daniil Gitelson wrote:
    I'm using durable rabbitmq queues in order to "survive" server restart,
    but unfortunately all queues are cleared after rabbitmq restart.

    Make sure your messages are marked as persistent. See the section on
    "Message durability" in
    http://www.rabbitmq.com/tutorials/tutorial-two-python.html


    Matthias.
  • Anton Sizov at Jul 24, 2013 at 9:38 am
    To create durable queue is not sufficient condition to persist messages. To
    make your messages persistent you should publish them with mode 2.

    On Wednesday, July 24, 2013 12:11:16 AM UTC+3, Daniil Gitelson wrote:

    Hello,

    I'm using durable rabbitmq queues in order to "survive" server restart,
    but unfortunately all queues are cleared after rabbitmq restart.

    I checked that queues are durable with rabbitmqctl:

    sudo rabbitmqctl list_queues name durable
    Listing queues ...
    reports true
    snippet true

    Server: 3.1.3
    Client: java rabbitmq amqp driver 3.1.3
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130724/e9153bac/attachment.htm>

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouprabbitmq-discuss @
categoriesrabbitmq
postedJul 23, '13 at 9:11p
activeJul 24, '13 at 9:38a
posts4
users4
websiterabbitmq.com
irc#rabbitmq

People

Translate

site design / logo © 2017 Grokbase