activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ssahu <>
Subject How to expire or set time to live for topic messages?
Date Thu, 06 Jun 2013 11:30:59 GMT
> This is regarding active mq topic.
> Recently we have seen issue of head dump saying Topic containing huge
> number of messages which is taking lot of memory. It seems topic messages
> were not consumed by the consumer, might be(not sure)  because the
> consumer died due to some other reason.

> What are the ways to expire or delete messages from topic depending on
> time or non-availability of consumer?
> Could you please suggest some good solution to improve or fix this issue?

We tried setting setJmsExpiration(120000) method to
message(activemqObjectMessage) properties but the topic messages are not
geting expired.


View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message