Revisit javadocs of Request.getRoutingKey/getRoutingToken

Description

getRoutingToken:

The token to use for token-aware routing, or {@code null} if this request does not use token-aware routing.

This is confusing, because the request could return null from this method, but a non-null result from getRoutingKey, and it would use routing.

The two methods are two alternative ways to provide the same information.

(The best source of truth is the algorithm described in getRoutingKey)

Environment

None

Pull Requests

None

Status

Assignee

Olivier Michallat

Reporter

Olivier Michallat

Labels

None

PM Priority

None

Affects versions

None

Fix versions

Pull Request

None

Doc Impact

None

Size

None

External issue ID

None

External issue ID

None

Priority

Minor
Configure