qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Ross (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (QPID-3954) Durable option for qpid-cpp-benchmark does not create durable queues like it should
Date Wed, 15 Mar 2017 00:26:41 GMT

     [ https://issues.apache.org/jira/browse/QPID-3954?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Justin Ross updated QPID-3954:
------------------------------
    Component/s: C++ Tools

> 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
>          Components: C++ Tools
>            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 was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message