You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@qpid.apache.org by joseluis <jl...@gmail.com> on 2011/09/28 18:52:08 UTC
LVQ on linked queue
Is it possible to configure the linked queue of a topic to work with LVQ?
I'm using an exchange with a linked queue with this configuration
testing/#;
{
assert: allways,
node :
{
type: topic
},
link:
{
durable: false,
x-declare:
{
auto-delete: true,
exclusive: True,
arguments:
{
'qpid.max_count': 1000000,
'qpid.max_size': 10000000,
'qpid.policy_type': ring
}
}
}
}
kind regards
--
View this message in context: http://apache-qpid-users.2158936.n2.nabble.com/LVQ-on-linked-queue-tp6840958p6840958.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org
Re: LVQ on linked queue
Posted by Gordon Sim <gs...@redhat.com>.
On 09/28/2011 05:52 PM, joseluis wrote:
> Is it possible to configure the linked queue of a topic to work with LVQ?
Yes, although an LVQ with browsers also behaves much like a topic.
> I'm using an exchange with a linked queue with this configuration
>
>
> testing/#;
> {
> assert: allways,
> node :
> {
> type: topic
> },
> link:
> {
> durable: false,
> x-declare:
> {
> auto-delete: true,
> exclusive: True,
> arguments:
> {
For an LVQ you want to add an argument here:
'qpid.last_value_queue_key': 'xyz'
where xyz is the name of the property on which you want the LVQ to be keyed.
> 'qpid.max_count': 1000000,
> 'qpid.max_size': 10000000,
> 'qpid.policy_type': ring
> }
> }
> }
> }
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org