2010-08-26 27 views
1

设置Topic在HornetMQ在hornetmq-jms.xml中看到我如何在JBoss 6

<queue name="ExpiryQueue"> 
     <entry name="/queue/ExpiryQueue"> 
</queue> 

但如何配置一个话题?

到JBoss 3.2.1我们做到了throght jbossmq-destinations-service.xml

+0

你试过了吗?? – skaffman 2010-08-26 13:33:27

回答

2

下载HornetQ的二进制分发,并期待在“主题”的例子。文件examples/jms/topic/server0/hornetq-jms.xml包含此:

<!--the topic used by the example--> 
<topic name="exampleTopic"> 
    <entry name="/topic/exampleTopic"/> 
</topic> 

还有很多其他的例子。如果您觉得有用,请投票表决。