Annotation Interface MockEndpoints


@Documented @Inherited @Retention(RUNTIME) @Target(TYPE) public @interface MockEndpoints
Triggers the auto-mocking of endpoints whose URIs match the provided filter. The default filter is "*" which matches all endpoints. See InterceptSendToMockEndpointStrategy for more details on the registration of the mock endpoints.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The pattern to use for matching endpoints to enable mocking on.
  • Element Details

    • value

      String value
      The pattern to use for matching endpoints to enable mocking on.
      Default:
      "*"