Re: Blocking transactions

2007-09-05 Thread Olivier OTTAVI
Thanks this was of great help also - I was wondering if their is a way to set round robin load balancing policy on the client producers of a queue. On 9/4/07, corcorda <[EMAIL PROTECTED]> wrote: > > > You were completely right. Sorry, I managed to read the prefetch article > and > still miss it. >

Re: Blocking transactions

2007-09-04 Thread corcorda
You were completely right. Sorry, I managed to read the prefetch article and still miss it. Thank you for your help. James.Strachan wrote: > > On 9/4/07, corcorda <[EMAIL PROTECTED]> wrote: >> >> It's not the default prefetch values because I can recreate the problem >> with >> just 2 consumer

Re: Blocking transactions

2007-09-04 Thread James Strachan
On 9/4/07, corcorda <[EMAIL PROTECTED]> wrote: > > It's not the default prefetch values because I can recreate the problem with > just 2 consumers and a few jobs. Thats normally exactly when the prefetch issue hits :) http://activemq.apache.org/i-do-not-receive-messages-in-my-second-consumer.html

Re: Blocking transactions

2007-09-04 Thread corcorda
It's not the default prefetch values because I can recreate the problem with just 2 consumers and a few jobs. I think the problem must be with the way I'm using sessions. I haven't used JMS before so I'm following the samples and maybe they're too simple. The code is very simple. Create a connect

Re: Blocking transactions

2007-09-04 Thread James Strachan
On 9/4/07, corcorda <[EMAIL PROTECTED]> wrote: > > I'm having some trouble with transactions. The problem is multiple consumers > block each other if they spend a long time in a transaction. Each consumer should be in its own session to avoid them blocking each other right? > What I'm looking to