As far as I see your serializer does not have any option to pass custom header with message. https://github.com/Happyr/message-serializer/blob/master/src/Serializer.php#L66 Is there any reason to not to allow any custom headers?