activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mons Anderson <m...@cpan.org>
Subject Re: How to set prefetchSize in conf/activemq.xml?
Date Wed, 04 Feb 2009 14:01:00 GMT

Big thanks.
I've tried this option, but maybe the testcase was wrong that time
It works


Dejan Bosanac wrote:
> 
> Hi Mons,
> 
> yes, it's possible to do it with Stomp. All you have to do is to set
> 
> activemq.prefetchSize header to 1 on your subscribe command
> 
> Cheers
> --
> Dejan Bosanac
> 
> Open Source Integration - http://fusesource.com/
> ActiveMQ in Action - http://www.manning.com/snyder/
> Blog - http://www.nighttale.net
> 
> 
> On Wed, Feb 4, 2009 at 1:58 PM, Mons Anderson <mons@cpan.org> wrote:
> 
>>
>> I have such a problem:
>> I try to consume messages, using STOMP protocol from Perl.
>> When SUBSCRIBE is sent (with ack:client), broker immediately sends 1000
>> messages from queue to consumer.
>> But I want It send to me only one message, until I say back ACK on that
>> message.
>>
>> Can anybody explain me, how I may do such a behavior using stomp?
>> If it is impossible via stomp, is it possible via openwire?
> 

-- 
View this message in context: http://www.nabble.com/How-to-set-prefetchSize-in-conf-activemq.xml--tp21829644p21831033.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message