On 16/10/06, Gordon Sim <[EMAIL PROTECTED]> wrote:

Are you suggesting that prefetch should be specified as two values (high
and low)? I'm not sure that makes much sense to me.

The problem is that you kill performance if you don't, when using JMS
"auto ack" since you end sending one message, waiting for an ack,
sending another message etc. once you have reached the watermark and
it is impossible to get out of that cycle with auto ack.

You could argue that is a dumb app, but by having a high and low
watermark it means that you can say "send me 50,000 messages then wait
until you have received acks for 25,000 of them before sending me some
more" without building that logic into your app.

RG

Reply via email to