checkAttributesMatch

protected void checkAttributesMatch(E envelope)

Allows to make sure that the passed envelope matches the annotation attributes of a method.

Default implementation does nothing. Descending classes may override for checking the match.

Parameters

envelope

the envelope with the massed to handle

Throws

the default implementation does not throw ever. Descending classes would throw if the annotation arguments do not match the message of the passed envelope.