You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Harishravi <ha...@gmail.com> on 2019/11/19 17:28:51 UTC

ActiveMQ JMS issue

Hi,

I have a Producer which is sending 60-100 messages to an ActiveMQ and I see
the messages were sent successfully and I see them in ActiveMQ. I have a
consumer which is consuming these messages but I see that when the number of
messages produced by the producer increases I see the messages not being
consumed and the messages get deleted after TTL. What are the options
available for me?

 Throttling the producer is one but this is real time traffic and I cannot
control the traffic.
Any other setting that I can try to increase the throughput



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: ActiveMQ JMS issue

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi,

It seems your consumer is slow. I guess you are using the auto_ack on
the client side. You can increase the number of concurrent consumer and
also increase the messages expiration.

I would investigate on the consumer front why it's slow.

Regards
JB

On 19/11/2019 18:28, Harishravi wrote:
> Hi,
> 
> I have a Producer which is sending 60-100 messages to an ActiveMQ and I see
> the messages were sent successfully and I see them in ActiveMQ. I have a
> consumer which is consuming these messages but I see that when the number of
> messages produced by the producer increases I see the messages not being
> consumed and the messages get deleted after TTL. What are the options
> available for me?
> 
>  Throttling the producer is one but this is real time traffic and I cannot
> control the traffic.
> Any other setting that I can try to increase the throughput
> 
> 
> 
> --
> Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
> 

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com