1. 打开%jboss-6.0.0-M3%\server\default\deploy\
hornetq目录,copy
hornetq-configuration.xml和
hornetq-jms.xml到你的系统目录
2. 修改 hornetq-jms.xml,加上你自己的Queue即可。类似于:
<configuration xmlns="urn:hornetq"
xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:hornetq /schema/hornetq-jms.xsd">
<queue name="MyQueue">
<entry name="/queue/MyQueue"/>
</queue>
</configuration>
2. 修改 hornetq-jms.xml,加上你自己的Queue即可。类似于:
<configuration xmlns="urn:hornetq"
xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:hornetq /schema/hornetq-jms.xsd">
<queue name="MyQueue">
<entry name="/queue/MyQueue"/>
</queue>
</configuration>