Durable option for qpid-cpp-benchmark does not create durable queues like it 
should
-----------------------------------------------------------------------------------

                 Key: QPID-3954
                 URL: https://issues.apache.org/jira/browse/QPID-3954
             Project: Qpid
          Issue Type: Bug
            Reporter: Andy Goldstein
            Priority: Minor
         Attachments: QPID-3954.patch

Running the following command should test using durable queues (based on the 
description of the --durable option):

qpid-cpp-benchmark --ack-frequency=1000 --content-size 4096 -m 20000 --durable

Unfortunately, the queue that is created (benchmark-0), is not created as 
durable.  This can be verified with the --no-delete option:

qpid-config queues
Queue Name                                Attributes
=================================================================
acfefc4c-fde2-4abb-82b3-94a9db84f729:0.0  auto-del excl 
benchmark-0                               

Although the start_receive() method attempts to make the queue durable, it 
looks like it is too late at this point, as I believe the queue gets created 
earlier, when recreate_queues() is called.

I'm attaching a patch that updates the logic in recreate_queues to support 
durable queues.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to