On 8 March 2011 11:27, Gordon Sim <[email protected]> wrote: > On 03/08/2011 09:50 AM, Robert Godfrey wrote: > >> On 8 March 2011 04:48, Rajith Attapattu<[email protected]> wrote: >> >> Each time the getEnumeration method is called we create a new consumer. >>> I fully understand the reasons as to why each enumeration needs to have >>> it's >>> own consumer. >>> >>> >> Is creating a consumer really that expensive? Or is the issue that the >> whole queue is then (potentially) sent to the client? >> > > Or is it that the subscriptions are never cleaned up correctly? (The mail > on the user list talked about increasing numbers of subscriptions). > > Yeah - if this suggestion is in relation to the query on the Qpid user mailing list then the problem there seems to be that the browsers are not closing the subscriptions when they are done.
And, as an aside I would really like to understand the justification for this pattern of querying by using browse... why not just use a no wait receive? -- Rob
