activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From activemqer <abiryu...@gmail.com>
Subject Re: producer is stuck while a consumer is processing a message
Date Mon, 11 Dec 2006 02:15:11 GMT

Thanks for the response. Yes, we're using persistent messages. I have tried
setting the async send on the connection factory already, but the producer
seems to block anyway.



jlim wrote:
> 
> Hi,
> 
> Are you using persistent messages?  You may want to configure you 
> producer to use async sends.
> 
> http://activemq.org/site/async-sends.html
> 
> 
> 
> Regards,
> Jonas
> 
> activemqer wrote:
>> I have a single consumer registered with a queue and a single producer
>> posting messages onto the same queue. I noticed that if a consumer taking
>> rather a long time to process one message, the producer is stuck waiting
>> untill the onMessage method returns.
>>
>> If the onMessage takes long enough time to return, the producer times
>> out.
>> Some "protocol negotiation" exception occurs.
>>
>> I don't know if this is expected behavior or some bug in the current
>> version
>> of the broker. It could be some configuration I'm missing. Any help would
>> be
>> appreciated.
>>
>> ActiveMQ 4.1
>> Spring 2.0
>> JBoss 4.0.5
>>   
> 
> 

-- 
View this message in context: http://www.nabble.com/producer-is-stuck-while-a-consumer-is-processing-a-message-tf2791162.html#a7788859
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message