yun not bound
来源:互联网 发布:淘宝活动标题怎么写 编辑:程序博客网 时间:2024/05/08 08:54
1. 打开%JBOSS_HOME%\server\default\deploy\hornetq目录,
copy hornetq-configuration.xml和hornetq-jms.xml 到你的项目的META-INF目录下,以保证在编译后这2个文件会被打包到EAR的META-INF中。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>
3.发现在JBoss根目录\server\default\deploy下的mail-service.xml文件中加入如下:
<mbean code="org.jboss.mq.server.jmx.Queue" name="jboss.org.destination:server=Queue,name=yun" >
<attribute name="JNDIName" >queue/yun</attribute>
<depends optional-attribute-name = "DestinationManager" > jboss.mq:service=DestinationManager </depends>
</mbean>
重启JBoss问题即解决。
- yun not bound
- Local is not bound
- Invalid bound statement (not found):
- Invalid bound statement (not found)
- Invalid bound statement (not found)
- Invalid bound statement (not found)
- Invalid bound statement (not found)
- Invalid bound statement (not found)
- Invalid bound statement (not found)
- Invalid bound statement (not found)
- Invalid bound statement (not found)
- Invalid bound statement (not found)
- Invalid bound statement (not found)
- invalid bound statement (not found)
- Invalid bound statement (not found)
- Invalid bound statement (not found)
- invalid bound statement (not found)
- Invalid bound statement (not found)
- 10 Time Management Tips That Work
- Android自定义Notification
- 网页常用颜色表
- hash_strmap 最新性能数据
- 第一节CSDN课总结之网页制作(新手一学就会)
- yun not bound
- 安装使用php zlib扩展实现页面gzip压缩输出实例
- flex调用arcgis地图服务发布地图遇到安全沙箱问题
- Linq基本语法
- Tips for a More Productive Day
- Session
- 西安世界园艺博览会
- session记录访问次数
- phone模块的分析