activeMQ对于数字十分敏感,如果selector里写的是数字就不会进入这个queue了
我们可以在selector里把数字加上引号,或者用convert_string_expressions 比如:
selector="convert_string_expressions:subtype=20"
或
selector="subtype=’20‘"
参考文档
http://activemq.apache.org/selectors.html
转载请注明原文地址: https://ju.6miu.com/read-10507.html