I am seeing very inconsistent behavior when setting the TTL on topic
messages. Queues seem to work fine. 

I start the broker (both version 5.3 and 5.4 exhibit the same issue), and
then use the web admin console to create a topic, and send a message to it.
I notice that I get the best behavior when I set the TTL to 1 (I believe
this field is milliseconds) - The majority of the time, the message goes to
the DLQ. However, for any other value, it's hit or miss. Sometimes it goes
to the DLQ, others it doesn't (you can see the DLQ count not increasing, as
the Messaages enqueued count increases)....

I first noticed this when I set the individualDLQstrategy for topics and
queues to send messages (programmatically) to their own DLQ topic - I
noticed I wasn't seeing ANY TOPIC messages timing out. I then noticed the
same behavior when done via the web admin console - and it's easier to
demonstrate.

I also tried persistent and non-persistent messages.

So, am I fundamentally misunderstanding something, or is there a bug in the
expiring of topic based messages ?

Thanks

Martin




-- 
View this message in context: 
http://activemq.2283324.n4.nabble.com/Inconsistent-TTL-behavior-on-Topics-tp3239146p3239146.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to