activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ttmgary <gary.wat...@ttmsolutions.com>
Subject Re: how can I really use more then 1 receiver on the same queue?
Date Wed, 18 Mar 2009 19:31:03 GMT

Seems like setting prefetchPolicy=1 (or greater, if message volume warrants
it) should activate your multiple consumer threads.


- Gary


steve56 wrote:
> 
> 
> case 2:
>   - set prefetchPolicy = 0
>   - now all threads work consuming sequentially (non in parallel!)
> messages. i.e: a thread receives a new message only when the previous
> thread do message.acknowledge (or session.commit)
> 
> If I need to process more then 1 messages in parallel with acknowledge
> what can I do?
> 
> many thanks 
> steve56 
> 
> 

-- 
View this message in context: http://www.nabble.com/how-can-I-really-use-more-then-1-receiver-on-the-same-queue--tp22534104p22586781.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message