Core/Itinerary/ItineraryResolver.php
public function filterItineraryParamsToPropagate($params)
    {
        $res = [];

        foreach ($params as $key => $value) {
            if (!empty($value) && is_string($value)) {
                $res[$key] = $value;
            }
        }

        return $res;
    }
public function filterItineraryParamsToPropagate($params)
    {
        $res = [];

        foreach ($params as $key => $value) {
            if (!empty($value) && is_string($value)) {
                $res[$key] = $value;
            }
        }

        return $res;
    }
public function filterItineraryParamsToPropagate ( $ params ) { $ res = [ ] ; foreach ( $ params as $ key => $ value ) { if ( ! empty ( $ value ) && is_string ( $ value ) ) { $ res [ $ key ] = $ value ; } } return $ res ; }
Returns the parameters that should be propagated through the route using the exchange headers.

@param $params

@return array
Returns the parameters that should be propagated through the route using the exchange headers .