Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Applying Queue Sizing Constraints
  • Changing the Queue ordering Behaviors
  • Setting additional behaviors
  • Other Clients

Applying Queue Sizing Constraints

...

Code Block
#include "qpid/client/QueueOptions.h"

    QueueOptions qo;
    qo.clearPersistLastNode();

    session.queueDeclare(arg::queue=queue, arg::durable=true, arg::arguments=qo);

Other Clients

Note that these options can be set from any client. QueueOptions just correctly formats the arguments passed to the QueueDeclare() method.