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 01:55:57 GMT
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