Capture the body once
Configure the callback handler to retain original bytes for the supported verifier. Parse a copy only after verification when your runtime allows.
Test safely with fixtures
Use a known matching body plus harmless modifications between test passes. Reject invalid messages without advancing the job or firing a delivery.
Example
A parser can reformat the payload's whitespace while retaining exactly the same prediction identifier.
Pass condition
Valid fixture callbacks still verify through middleware, and changed fixture bodies cannot alter local job state.