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 ElementsModifier and TypeOptional ElementDescriptionbooleanWhether to start an in-process test gRPC server.
-
Element Details
-
enabled
boolean enabledWhether to start an in-process test gRPC server. Defaults totrue.- Returns:
- whether to start an in-process gRPC server
- Default:
true
-