JAkub Scholz created QPID-5060:
----------------------------------

             Summary: [C++ broker] Topic created as durable contains the 
durable=true in properties without having any effect on the subscription queues
                 Key: QPID-5060
                 URL: https://issues.apache.org/jira/browse/QPID-5060
             Project: Qpid
          Issue Type: Bug
          Components: C++ Broker
    Affects Versions: 0.24
         Environment: CentOS 6.4, Qpid 0.24 RC1,  Proton 0.4
            Reporter: JAkub Scholz
            Priority: Minor


A durable topic can be created with the qpidt utility by specifinfg the 
"durable=true" option, e.g.:

{{qpidt create topic x *durable=true* exchange=response qpid.max_count=1000 
qpid.max_size=1000000 qpid.policy_type=ring}}

That creates a topic which is indeed durable, but also contains the durable 
flag in the properties: 

{{Object of type: 
org.apache.qpid.broker:topic:_data(6182b36f-9f09-4118-2881-fb69e5355628)
    Attribute    165
    
======================================================================================================================================================
    name         x
    exchangeRef  145
    durable      True
    properties   {u'qpid.max_size': u'1000000', *u'durable': u'true'*, 
u'qpid.policy_type': u'ring', u'qpid.max_count': u'1000', u'exchange': 
u'response'}
}}

This might be confusing because the durable property is not propagated to the 
subscription queues created from this topic. To avoid the confusion, the 
durable option should not be added to the properties.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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