Fix typos in couple of asciidoc files
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
This commit is contained in:
@@ -200,7 +200,7 @@ SimpleGrpc.SimpleBlockingStub stub(GrpcChannelFactory channels, @LocalGrpcPort i
|
||||
}
|
||||
----
|
||||
|
||||
The channel can be configured via `application.properties` as well, by using the ``${local.grpc.port}` property placeholder.
|
||||
The channel can be configured via `application.properties` as well, by using the `${local.grpc.port}` property placeholder.
|
||||
The `@Bean` where you create the stub must still be `@Lazy` for the same reason as above.
|
||||
For example:
|
||||
|
||||
|
||||
@@ -157,7 +157,7 @@ A `GrpcExceptionHandler` can be used to handle exceptions of a specific type, re
|
||||
|
||||
== Testing
|
||||
|
||||
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
|
||||
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` or by adding the `@AutoConfigureInProcessTransport` annotation to your `@SpringBootTest` class.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user