Using queues with filters is the recommended way to keep consumers from getting messages they don't care about. This is much more efficient (although sometimes less flexible) than configuring the filter on the consumer itself.
Messages which are sent to an address and then are not routed to any queue (e.g. because the filters don't match) are simply discarded by default.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…