async def service_messages(self, msg, _context):
        """Get all messages for a service."""

        msgs = self.service_manager.service_messages(msg.get('name'))
        return [x.to_dict() for x in msgs]
Get all messages for a service.