2010-08-26 29 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> 

還有很多其他的例子。如果您覺得有用,請投票表決。