From ba91758dacb5ae7d19d9b499123d85383d02c7ad Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Wed, 29 Jan 2025 17:08:17 +0000 Subject: [PATCH] Mention annotation as well --- spring-grpc-docs/src/main/antora/modules/ROOT/pages/server.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-grpc-docs/src/main/antora/modules/ROOT/pages/server.adoc b/spring-grpc-docs/src/main/antora/modules/ROOT/pages/server.adoc index 7c1ff3e..06bf773 100644 --- a/spring-grpc-docs/src/main/antora/modules/ROOT/pages/server.adoc +++ b/spring-grpc-docs/src/main/antora/modules/ROOT/pages/server.adoc @@ -162,7 +162,7 @@ A `GrpcExceptionHandler` can be used to handle exceptions of a specific type, re If you include `spring-grpc-test` in your project, your gRPC server in a `@SpringBootTest` can be started in-process (i.e. not listening on a network port) by enabling the in-process server All clients that connect to any server via the autoconfigured `GrpcChannelFactory` will be able to connect to it. -You can switch the in-process server on by setting `spring.grpc.inprocess.enabled` to `true`. +You can switch the in-process server on by setting `spring.grpc.inprocess.enabled` to `true` or by adding the `@AutoConfigureInProcessTransport` annotation to your `@SpringBootTest` class. == Security