ActiveMQ 5.13 selector 不工作

    xiaoxiao2021-03-25  139

    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

    最新回复(0)