activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Davies <rajdav...@gmail.com>
Subject Re: NMS PrefetchSize=0
Date Tue, 28 Jul 2009 15:45:19 GMT
Unfortunately this is a side affect of setting prefetch == 0 - it  
works by pulling, so currently only works with receive()
On 28 Jul 2009, at 16:26, magellings wrote:

>
> Hello.
>
> When setting PrefetchSize on the Session to 0 I do not obtain any  
> messages
> when using the Listener event on the MessageConsumer.
>
> If I call Receive on the MessageConsumer to initiate a pull request  
> I can
> obtain messages.  Can this work with the Listener event too and  
> maybe I'm
> missing something?
>
> -Thanks
>
>
> -- 
> View this message in context: http://www.nabble.com/NMS-PrefetchSize%3D0-tp24701748p24701748.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Rob Davies
I work here: http://fusesource.com
My Blog: http://rajdavies.blogspot.com/
I'm writing this: http://www.manning.com/snyder/





Mime
View raw message