JBoss Messaging 禁用持久性
我有几个问题 1. 如何禁用 JBoss Messaging 的持久性? 2. 有什么方法可以检查持久性是否已成功禁用? (MBean 或其他东西) 3. 也许有人知道一些技巧,可以帮助我禁用指定队列的持久性,而不是所有 JBoss Messaging
你能帮我吗:)
Enterprise Platform 4.3.0GA_CP06
I have few questions
1. How I can disable persistence for JBoss Messaging?
2. Is there any way to check that persistence was successfully disabled? (MBean or something else)
3. Maybe anybody knows tricks which will help me to disable persistence for specified queue not for all JBoss Messaging
Could you help me please :)
Enterprise Platform 4.3.0GA_CP06
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
对于 Q1,JMS 持久化配置放在路径
server/default/deploy/jms/-xxx-service.xml
中,要禁用持久化,可以按照文件docs /examples/jms/null-persistence-service.xml
。对于第二季度,我认为这取决于您当前的持久性配置,或者您可以尝试1)生成消息,2)重新启动jboss,3)检查可用消息。
希望有帮助。
For Q1, the JMS persistence configuration is placed in path
server/default/deploy/jms/<db>-xxx-service.xml
, to disable persistence, you can follow the filedocs/examples/jms/null-persistence-service.xml
.For Q2, I think it depend on your current persistence config, or you can try 1) produce message, 2) restart jboss, 3) inspect available messages.
Hope it helps.