activemq需要添加jms配置 jms:pub-sub-domain:true(为true时是topic模式,为false是queue模式) 转载于:https://www.cnblogs.com/zhengbai/p/9933832.html