def METHOD_NAME(self, body, priority=None,
                    content_type=None, content_encoding=None,
                    headers=None, properties=None, _Message=amqp.Message):
    """Prepare message so that it can be sent using this transport."""
    return _Message(
        body,
        priority=priority,
        content_type=content_type,
        content_encoding=content_encoding,
        application_headers=headers,
        **properties or {}
    )