0
我想爲我的hornetq主題/隊列配置轉向。我使用JBoss 7配置JMS轉移JBoss7(HornetQ)
配置我的通訊子系統的HornetQ在standalone.xml
<subsystem xmlns="urn:jboss:domain:messaging:1.3">
<hornetq-server>
我配置隊列和主題在這裏太
<jms-queue name="topic1">
<entry name="queue/queue1"/>
<entry name="java:jboss/exported/jms/queue/queue1"/>
</jms-queue>
<jms-topic name="topic1">
<entry name="topic/topic1"/>
<entry name="java:jboss/exported/jms/topic/topic1"/>
</jms-topic>
我想配置轉向..將主題轉移到隊列上,如下所示:
<!-- Attempting divert-->
<divert name="my-divert">
<address>jms.topic.topic1</address>
<forwarding-address>jms.queue.topic1</forwarding-address>
<exclusive>true</exclusive> </divert> -->
<!-- end divert-->
</hornetq-server>
如果我將它放在s中消息傳遞子系統中的tanalone.xml Jboss在啓動時不會解析此消息。我應該在哪裏放置這個配置 - 它可以住在stanadalone.xml中嗎?
由於