Class GrpcEndpointBuilderFactory.GrpcHeaderNameBuilder

java.lang.Object
org.apache.camel.builder.endpoint.dsl.GrpcEndpointBuilderFactory.GrpcHeaderNameBuilder
Enclosing interface:
GrpcEndpointBuilderFactory

public static class GrpcEndpointBuilderFactory.GrpcHeaderNameBuilder extends Object
The builder of headers' name for the gRPC component.
  • Constructor Details

    • GrpcHeaderNameBuilder

      public GrpcHeaderNameBuilder()
  • Method Details

    • grpcMethodName

      public String grpcMethodName()
      Method name handled by the consumer service. The option is a: String type. Group: consumer
      Returns:
      the name of the header GrpcMethodName.
    • grpcUserAgent

      public String 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

      public String 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.