Re: maxprefecth / capacity concerns

2012-02-17 Thread Alan Conway
On Fri, 2012-02-10 at 08:37 +, Fraser Adams wrote: > Hi Pavel, > Sorry I can't be any more help. Given what I said previously based on my > casual rummage through the source code my bet is that configuring the > producer capacity simply isn't supported on the Java client run time. My > comme

Re: maxprefecth / capacity concerns

2012-02-16 Thread Rajith Attapattu
Sorry I was late to the discussion. I was sick the whole of last week and this week I had to deal with a few issues and was late in catching up on email. Both max-prefetch and capacity are only relevant on the consumer side and they mean the same thing. If capacity is specified in the address stri

Re: maxprefecth / capacity concerns

2012-02-15 Thread Gordon Sim
On 02/15/2012 09:23 PM, Pavel Moravec wrote: While in Java client without ability to setup capacity, Java client can send to the queue any further number of messages, simply ignoring it hasn't received ACKs. Only when the client would try to close the session or connection, it is blocked (in AUTO

Re: maxprefecth / capacity concerns

2012-02-15 Thread Pavel Moravec
l Message - > From: "Gordon Sim" > To: users@qpid.apache.org > Sent: Friday, February 10, 2012 8:47:33 PM > Subject: Re: maxprefecth / capacity concerns > > On 02/03/2012 11:51 AM, Pavel Moravec wrote: > > Hello qpid users, > > I am somehow confused

Re: maxprefecth / capacity concerns

2012-02-10 Thread Gordon Sim
On 02/03/2012 11:51 AM, Pavel Moravec wrote: Hello qpid users, I am somehow confused about difference between capacity and maxprefetch. Both define maximum number of messages that can be sent without receiving a response to the first msg, but maxprefetch is applicable to consumer part of the c

Re: maxprefecth / capacity concerns

2012-02-10 Thread Fraser Adams
ity limit (i.e. setCapacity from C++) in Java client. Kind regards, Pavel - Original Message - From: "Fraser Adams" To: users@qpid.apache.org Sent: Saturday, February 4, 2012 12:02:04 PM Subject: Re: maxprefecth / capacity concerns Hi Pavel, I *think* that they are the sam

Re: maxprefecth / capacity concerns

2012-02-07 Thread Pavel Moravec
is no option to apply capacity limit (i.e. setCapacity from C++) in Java client. Kind regards, Pavel - Original Message - > From: "Fraser Adams" > To: users@qpid.apache.org > Sent: Saturday, February 4, 2012 12:02:04 PM > Subject: Re: maxprefecth / capacity conce

Re: maxprefecth / capacity concerns

2012-02-04 Thread Fraser Adams
Hi Pavel, I *think* that they are the same thing. With C++ I've only used qpid::messaging and that *definitely* has a default consumer capacity of 1 and I "think" a default producer capacity of 50, so if you write a qpid::messaging consumer by default its performance won't be great hence it's

maxprefecth / capacity concerns

2012-02-03 Thread Pavel Moravec
Hello qpid users, I am somehow confused about difference between capacity and maxprefetch. Both define maximum number of messages that can be sent without receiving a response to the first msg, but maxprefetch is applicable to consumer part of the communication only. My questions: 1) "maxprefet