Check if the filter rule matches for this message.
Note that you are not allowed to manipulate the content or XmlKey or QoS of a message with your plugin as this would affect all other subscribers (you are working on a reference to the original message). You can find out the publisher name like msgUnit.getQosData().getSender()
@param receiver The session object describing the receiver, is never null.
@param msgUnit The message to check, is never null.
@param query The query containing the filter rule on subscribe/get usuallythe client defines his own rule which is passed here.
null: If for a subscribe() or get() no rule is given, your plugin needs to have its own general rule or react how it likes.
Access the raw query string with query.getQuery(), you can parse it and store the prepared query with query.setPreparedQuery() - query.getPreparedQuery() to increase performance.
@return true If the filter matches this message, else false
@exception XmlBlasterException Is thrown on problems, for example if the MIME typedoes not fit to message content.
Take care throwing an exception, the message is not updated and an error is logged and the message is sent as dead letter. (see TopicHandler.java:1032). It is best to return 'false' instead and handle the situation yourself.