activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonas Lim <j...@exist.com>
Subject Re: producer is stuck while a consumer is processing a message
Date Mon, 11 Dec 2006 03:27:19 GMT
Could you provide a junit test case to reproduce the issue. I dont seem 
to be having that same issue in my testing.

Regards,
Jonas

activemqer wrote:
> 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
>>>   
>>>       
>>     
>
>   

Mime
View raw message