qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Goldstein <andy.goldst...@redhat.com>
Subject Re: Qpid call command to purge messages
Date Thu, 12 Jul 2012 17:51:51 GMT
Try this:

call 146 purge 2 {}

Andy

On Jul 12, 2012, at 12:25 PM, aparikh wrote:

> The call command to purge messages from the qpid queue is returning below
> error... I have made sure the queue id is correct and there are messages in
> the queue.. 
> 
> Any help would be appreciated..
> 
> Versions:
> Qpid-Tool 0.16
> Qpid C++ broker 0.16.
> 
> 
> 
> qpid: call 146 purge 2
> *Exception in do_call: %r Incorrect number of arguments: expected 2, got 1
> *
> 
> 
> 
> qpid: show 146
> Object of type:
> org.apache.qpid.broker:queue:_data(ea2e430d-fc12-d491-dd53-74da3ba76576)
>    Attribute              146
> 
> ===================================================================================================
>    vhostRef               188
>    name                   BKR_OUT
>    durable                True
>    autoDelete             False
>    exclusive              False
>    arguments              {u'qpid.max_size': 60000L, u'qpid.file_size':
> 24L, u'qpid.file_count': 8L}
>    altExchange            absent
>    msgTotalEnqueues       2
>    msgTotalDequeues       0
>    msgTxnEnqueues         2
>    msgTxnDequeues         0
>    msgPersistEnqueues     0
>    msgPersistDequeues     0
>    msgDepth               2
>    byteDepth              582
>    byteTotalEnqueues      582
>    byteTotalDequeues      0
>    byteTxnEnqueues        582
>    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      0
>    consumerCountLow       0
>    bindingCount           1
>    bindingCountHigh       1
>    bindingCountLow        1
>    unackedMessages        0
>    unackedMessagesHigh    0
>    unackedMessagesLow     0
>    messageLatencySamples  0s
>    messageLatencyMin      0s
>    messageLatencyMax      0s
>    messageLatencyAverage  0s
>    flowStopped            False
>    flowStoppedCount       0
> 
> 
> --
> View this message in context: http://qpid.2158936.n2.nabble.com/Qpid-call-command-to-purge-messages-tp7579574.html
> Sent from the Apache Qpid users mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
> For additional commands, e-mail: users-help@qpid.apache.org
> 


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


Mime
View raw message