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.

Reply via email to