apply routing