我想设置至0.这似乎是另一个问题(JMSqueuewithmultipleconsumers)的答案,并在此article中进行了描述。在第17.1.1章中。我使用JNDI检索连接工厂。我的hornetq-jms.xml看起来像这样:0本节是从上面的链接复制粘贴,但我得到了错误:DEPLOYMENTSINERROR:Deployment"org.hornetq:module=JMS,name="ConnectionFactory",type=ConnectionFactory"isinerrorduetothefollowingreason(s):HornetQException[er