Can topic messages be made persistent in activemq?

こ雲淡風輕ζ 提交于 2020-01-13 02:48:06

问题


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


回答1:


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



来源:https://stackoverflow.com/questions/8825196/can-topic-messages-be-made-persistent-in-activemq

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!