public interface RoutingResolver
Modifier and Type | Method and Description |
---|---|
String |
getRouting()
returns the routing when no entity is available.
|
<T> String |
getRouting(T bean)
Returns the routing for a bean.
|
static RoutingResolver |
just(String value)
Returns a
that always retuns a fixed value |
@Nullable String getRouting()
@Nullable <T> String getRouting(T bean)
bean
- the bean to get the routing forstatic RoutingResolver just(String value)
that always retuns a fixed value
value
- the value to returnRoutingResolver
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.