Annotation Interface AutoConfigureInProcessTransport


@Target(TYPE) @Retention(RUNTIME) @Documented @Inherited @ImportAutoConfiguration @PropertyMapping("spring.grpc.test.inprocess") public @interface AutoConfigureInProcessTransport
Annotation that can be applied to a test class to start an in-process gRPC server. All clients that connect to any server via the autoconfigured GrpcChannelFactory will be able to connect to the in-process gRPC server.
Since:
1.0.0
Author:
Dave Syer, Chris Bono
See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Whether to start an in-process test gRPC server.
  • Element Details

    • enabled

      boolean enabled
      Whether to start an in-process test gRPC server. Defaults to true.
      Returns:
      whether to start an in-process gRPC server
      Default:
      true