qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carl Trieloff <cctriel...@redhat.com>
Subject Re: Applying Queue Sizing Constraints from dotnet client
Date Tue, 01 Dec 2009 17:30:31 GMT

btw, you can check it was done correctly you looking at the queue def 
with qpid-tool.

Carl.


Ignacio Ybarra wrote:
> and where options should be something like
> Option[] options = new Option[] { Option.DURABLE };
>   
>> From: ignacio_ybarra@hotmail.com
>> To: users@qpid.apache.org
>> Subject: RE: Applying Queue Sizing Constraints from dotnet client
>> Date: Tue, 1 Dec 2009 17:26:12 +0000
>>
>>
>> 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