Have you used JMX to see if there are other durable subscriptions that have not consumed the messages?
On May 5, 2017 12:26 AM, "khandelwalanuj" <anuj.cool.khandel...@gmail.com> wrote: > Hi, > > Using ActiveMQv5.11.1 > > I am evaluating ActiveMQ with PostgreSQL JDBC adapter. > > I ran a test case where a durable subscriber was listening from a topic and > a publisher is publishing persistent messages. I observed that the messages > were stored in the DB (ACTIVEMQ_MSGS table) but even after successful > consumption by the consumer, these messages were not deleted from the > backend DB. However I have seen that this doesn't happen in case of queue. > Persistent messages sent to a queue are automatically deleted from the DB > once successfully consumed by the consumer. > > This is a very generic use case which should never happen. > > Thanks, > Anuj > > > > -- > View this message in context: http://activemq.2283324.n4. > nabble.com/ActiveMQ-with-PostgreSQL-Not-deleting- > persistent-messages-sent-to-a-topic-tp4725654.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >