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:[email protected]

Reply via email to