THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
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); |
...