- $JBOSS_HOME$\bin>standalone.bat --server-config=standalone-full.xml
4.例子:修改Jboss配置文件standalone-full.xml,找到hornetq-server节点,在该节点下的jms-destinations确定含有以下配置:
- <jms-destinations>
- <jms-queue name="testQueue">
- <entry name="queue/test"/>
- <entry name="java:jboss/exported/jms/queue/test"/>
- </jms-queue>
- <jms-topic name="ServerNotificationTopic">
- <entry name="topic/ServerNotification"/>
- <entry name="java:jboss/exported/jms/topic/ServerNotification"/>
- </jms-topic>
- </jms-destinations>
客户端项目用eclipse集成jboss的 j2ee项目。runtime是jboss 7.