and where options should be something like
Option[] options = new Option[] { Option.DURABLE };
> From: [email protected]
> To: [email protected]
> 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: [email protected]
> > To: [email protected]
> > 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:[email protected]
> >
>