Inherited @Deprecated annotation.
COMETD-498 (Publish callbacks are not invoked for locally failed messages).

Fixed by ensuring that locally failed messages have a message ID,
which is the key to the callbacks map.