activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clebert Suconic <>
Subject Re: Non-persistent jms message get lost for non durable subscriber.
Date Tue, 07 Feb 2017 18:06:49 GMT
Since you are looking on other possibilities, take a look on as well?

Anyways, a non persistence message should be available to be received
as long as you didn't stop the broker. The non persistent message
means the message doesn't need to survive an eventual crash, but you
should still receive it. Persistent only means the messages gets
stored on the disk in between receiving and sending back to the client
(all the way back to ack the message).

On Tue, Feb 7, 2017 at 11:16 AM, smith420 <> wrote:
> I have started with ActiveMQ just one day ago, so my knowledge on it is
> limited.My target is to check the ActiveMQ stability and throughput in
> different scenario for JMS message.So, following is one scenario.1. I am
> publishing 1 mil non-persistent synchronous messages to topic and
> subscribing it synchronously non durable manner. One publisher and one
> subscriber.2. The broker, publisher and subscriber is up during the
> test.Unfortunately nearly most of the times(only one time I got all messages
> out of 14 try),  I am not getting all the messages(1 mil) in subscriber end.
> nearly 5500 messages are lost.I did the same test for tibco ems and ibm mq
> and did not get this issue.So, for ActiveMQ, if I need all messages to be
> received, is it necessary to use persistent message and durable subscriber
> always?Don't think form the angle of guaranteed messaging or fail-over
> scenario. Any suggestion is welcome.Thanks,Smith
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at

Clebert Suconic

View raw message