Class GrpcEndpointBuilderFactory.GrpcHeaderNameBuilder
java.lang.Object
org.apache.camel.builder.endpoint.dsl.GrpcEndpointBuilderFactory.GrpcHeaderNameBuilder
- Enclosing interface:
- GrpcEndpointBuilderFactory
The builder of headers' name for the gRPC component.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReceived event type from the sent request.Method name handled by the consumer service.If provided, the given agent will prepend the gRPC library's user agent information.
-
Constructor Details
-
GrpcHeaderNameBuilder
public GrpcHeaderNameBuilder()
-
-
Method Details
-
grpcMethodName
Method name handled by the consumer service. The option is a:String
type. Group: consumer- Returns:
- the name of the header
GrpcMethodName
.
-
grpcUserAgent
If provided, the given agent will prepend the gRPC library's user agent information. The option is a:String
type. Group: consumer- Returns:
- the name of the header
GrpcUserAgent
.
-
grpcEventType
Received event type from the sent request. Possible values: onNext onCompleted onError. The option is a:String
type. Group: consumer- Returns:
- the name of the header
GrpcEventType
.
-