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 appropriate DataRouteSupporting component (for example, a RoutableDataSource in JPA) via a PackageDataRouteSupplier implementation.

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
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The key used to indentify the data route.
  • Element Details

    • value

      String value
      The key used to indentify the data route.
      Returns:
      The key used to indentify the data route.