from typing import Iterable


def get_components_of_message(data: str) -> Iterable[str]:
    """Returns the three components (origin, destination, message) of a data packet."""
    data_list = data.split(',')
    origin, destination, message = data_list
    return origin, destination, message