[ 
https://issues.apache.org/jira/browse/QPID-5060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13735053#comment-13735053
 ] 

ASF subversion and git services commented on QPID-5060:
-------------------------------------------------------

Commit 1512417 from [~gsim] in branch 'qpid/branches/0.24'
[ https://svn.apache.org/r1512417 ]

QPID-5060: remove exchange and durable for properties map, as they apply to 
topic itself rather than queue and are tracked by explicit properties (merged 
from r1512245)
                
> [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
>            Assignee: Gordon Sim
>            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