在hornetmq-jms.xml中,我看到了
<queue name="ExpiryQueue">
<entry name="/queue/ExpiryQueue">
</queue>
但是如何配置主题?
在jboss 3.2.1中我们做了jbossmq-destinations-service.xml
答案 0 :(得分:2)
下载HornetQ二进制发行版并查看“主题”示例。文件examples/jms/topic/server0/hornetq-jms.xml
包含以下内容:
<!--the topic used by the example-->
<topic name="exampleTopic">
<entry name="/topic/exampleTopic"/>
</topic>
还有很多其他例子。如果您觉得这很有用,请进行投票。