qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ignacio Ybarra <ignacio_yba...@hotmail.com>
Subject RE: Applying Queue Sizing Constraints from dotnet client
Date Tue, 01 Dec 2009 17:33:10 GMT

true -- but this was for a prototype of a last value cache

> Date: Tue, 1 Dec 2009 12:29:46 -0500
> From: cctrieloff@redhat.com
> To: users@qpid.apache.org
> Subject: Re: Applying Queue Sizing Constraints from dotnet client
> 
> 
> yes, I would assume you would want max count larger than 1 :-)
> 
> Carl.
> 
> Ignacio Ybarra wrote:
> > It should be something like this:
> > session.queueDeclare(qname, null, new Dictionary<string, object>() { { "qpid.max_count",
1 }, { "qpid.policy_type", "ring" } }, options);
> >
> >
> >   
> >> Date: Tue, 1 Dec 2009 11:18:09 -0500
> >> From: cctrieloff@redhat.com
> >> To: users@qpid.apache.org
> >> Subject: Re: Applying Queue Sizing Constraints from dotnet client
> >>
> >> Virgoss wrote:
> >>     
> >>> I've found how to apply queue sizing constraints from c++ client 
> >>> http://qpid.apache.org/cheat-sheet-for-configuring-queue-options.html here
.
> >>> It looks like:
> >>>
> >>> #include "qpid/client/QueueOptions.h"
> >>>
> >>> QueueOptions qo;
> >>> qo.setSizePolicy(RING,0,1000);
> >>> session.queueDeclare(arg::queue=queue, arg::arguments=qo);
> >>>
> >>> How to do the same from the .NET client?
> >>>
> >>>   
> >>>       
> >> All this helper class does is set options in the fieldtable. you can set 
> >> these directly from just about any client
> >> on the queue declare. If you look in the header you can pick out the 
> >> strings, or they are also on the wiki etc.
> >>
> >> Carl.
> >>
> >> ---------------------------------------------------------------------
> >> Apache Qpid - AMQP Messaging Implementation
> >> Project:      http://qpid.apache.org
> >> Use/Interact: mailto:users-subscribe@qpid.apache.org
> >>
> >>     
> >  		 	   		  
> >   
> 
 		 	   		  
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message