Versions Compared

Key

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

...

Create a queue an auto delete queue that will support 100 000 messagesbytes, and then REJECT

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

    QueueOptions qo;
    qo.setSizePolicy(REJECT,100000,0,100000);

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

...