Can topic messages be made persistent in activemq?

2019-04-10 10:53发布

I am very new to JMS and ESB. I am using activemq as JMS and mule as ESB. When i am forwarding the messages from one queue to another with jms connector parameter "persistentDelivery" as "true" it retains the messages in the target queue after activemq re-start. But in case of forwarding messages from one topic to another,the messages are not retained in the target topic after restart.

Is there any limitation for persistence of messages in case of topic in activemq?

Thanks in advance.

Regards, Arijit

标签: activemq
1条回答
Viruses.
2楼-- · 2019-04-10 11:32

topics are different in that messages are only retained if there is a durable consumer.

see these for more info...

http://activemq.apache.org/how-do-durable-queues-and-topics-work.html

http://stefanlearninglog.blogspot.com/2009/07/persistent-jms-topics-using-activemq.html

查看更多
登录 后发表回答