[Routing] Issue #12637 Added deprecation message

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets | #12637
| License       | MIT
| Doc PR        | n/a
okay.