qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "JAkub Scholz (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-5060) [C++ broker] Topic created as durable contains the durable=true in properties without having any effect on the subscription queues
Date Thu, 08 Aug 2013 16:33:48 GMT

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

JAkub Scholz commented on QPID-5060:
------------------------------------

Actually, the same problem seems to apply to the exchange name, which is also added to the
properties and later transferred into the queue arguments. I guess that should be also not
propagated:

    Attribute            185
    ==============================================================================================================================================================
    vhostRef             197
    name                 response.ABCFR_ABCFRALMMACC1.response_queue_1
    durable              False
    autoDelete           True
    exclusive            False
    arguments            {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'}*
    msgTotalEnqueues     0
    msgTotalDequeues     0
    msgTxnEnqueues       0
    msgTxnDequeues       0
    msgPersistEnqueues   0
    msgPersistDequeues   0
    msgDepth             0
    byteDepth            0
    byteTotalEnqueues    0
    byteTotalDequeues    0
    byteTxnEnqueues      0
    byteTxnDequeues      0
    bytePersistEnqueues  0
    bytePersistDequeues  0
    msgFtdEnqueues       0
    msgFtdDequeues       0
    byteFtdEnqueues      0
    byteFtdDequeues      0
    msgFtdDepth          0
    byteFtdDepth         0
    releases             0
    acquires             0
    discardsTtl          0
    discardsRing         0
    discardsLvq          0
    discardsOverflow     0
    discardsSubscriber   0
    discardsPurge        0
    reroutes             0
    consumerCount        0
    consumerCountHigh    1
    consumerCountLow     0
    bindingCount         0
    bindingCountHigh     2
    bindingCountLow      0
    unackedMessages      0
    unackedMessagesHigh  0
    unackedMessagesLow   0
    messageLatencyMin    0s
    messageLatencyMax    0s
    flowStopped          False
    flowStoppedCount     0
    redirectPeer         
    redirectSource       False

                
> [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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message