Annotation Type DataRouteByKey
-
@Target({TYPE,METHOD}) @Retention(RUNTIME) @Inherited @Documented public @interface DataRouteByKey
This annotation identifies a route key that is used to narrow the appropriateDataRouteSupportingcomponent (for example, a RoutableDataSource in JPA) via aPackageDataRouteSupplierimplementation.
This annotation is generally most useful in establishing a route at the beginning of a flow. You will often see it defined at the rest controller level upon entry into the API.- Author:
- Jeff Fischer
-
-
Element Detail
-
value
String value
The key used to indentify the data route.- Returns:
- The key used to indentify the data route.
-
-