Interface GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- All Known Subinterfaces:
GrpcEndpointBuilderFactory.GrpcEndpointBuilder
- Enclosing interface:
- GrpcEndpointBuilderFactory
public static interface GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint producers for the gRPC component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default GrpcEndpointBuilderFactory.AdvancedGrpcEndpointProducerBuilder
advanced()
default GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder
authenticationType(String authenticationType)
Authentication method type in advance to the SSL/TLS negotiation.default GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder
authenticationType(GrpcEndpointBuilderFactory.GrpcAuthType authenticationType)
Authentication method type in advance to the SSL/TLS negotiation.default GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder
autoDiscoverClientInterceptors(boolean autoDiscoverClientInterceptors)
Setting the autoDiscoverClientInterceptors mechanism, if true, the component will look for a ClientInterceptor instance in the registry automatically otherwise it will skip that checking.default GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder
autoDiscoverClientInterceptors(String autoDiscoverClientInterceptors)
Setting the autoDiscoverClientInterceptors mechanism, if true, the component will look for a ClientInterceptor instance in the registry automatically otherwise it will skip that checking.default GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder
flowControlWindow(int flowControlWindow)
The HTTP/2 flow control window size (MiB).default GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder
flowControlWindow(String flowControlWindow)
The HTTP/2 flow control window size (MiB).default GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder
jwtAlgorithm(String jwtAlgorithm)
JSON Web Token sign algorithm.default GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder
jwtAlgorithm(GrpcEndpointBuilderFactory.JwtAlgorithm jwtAlgorithm)
JSON Web Token sign algorithm.default GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder
jwtIssuer(String jwtIssuer)
JSON Web Token issuer.default GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder
jwtSecret(String jwtSecret)
JSON Web Token secret.default GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder
jwtSubject(String jwtSubject)
JSON Web Token subject.default GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder
keyCertChainResource(String keyCertChainResource)
The X.509 certificate chain file resource in PEM format link.default GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder
keyPassword(String keyPassword)
The PKCS#8 private key file password.default GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder
keyResource(String keyResource)
The PKCS#8 private key file resource in PEM format link.default GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).default GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder
lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message).default GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder
maxMessageSize(int maxMessageSize)
The maximum message size allowed to be received/sent (MiB).default GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder
maxMessageSize(String maxMessageSize)
The maximum message size allowed to be received/sent (MiB).default GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder
method(String method)
gRPC method name.default GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder
negotiationType(String negotiationType)
Identifies the security negotiation type used for HTTP/2 communication.default GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder
negotiationType(GrpcEndpointBuilderFactory.NegotiationType negotiationType)
Identifies the security negotiation type used for HTTP/2 communication.default GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder
producerStrategy(String producerStrategy)
The mode used to communicate with a remote gRPC server.default GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder
producerStrategy(GrpcEndpointBuilderFactory.GrpcProducerStrategy producerStrategy)
The mode used to communicate with a remote gRPC server.default GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder
serviceAccountResource(String serviceAccountResource)
Service Account key file in JSON format resource link supported by the Google Cloud SDK.default GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder
streamRepliesTo(String streamRepliesTo)
When using STREAMING client mode, it indicates the endpoint where responses should be forwarded.default GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder
trustCertCollectionResource(String trustCertCollectionResource)
The trusted certificates collection file resource in PEM format for verifying the remote endpoint's certificate.default GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder
userAgent(String userAgent)
The user agent header passed to the server.
-
-
-
Method Detail
-
advanced
default GrpcEndpointBuilderFactory.AdvancedGrpcEndpointProducerBuilder advanced()
-
autoDiscoverClientInterceptors
default GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder autoDiscoverClientInterceptors(boolean autoDiscoverClientInterceptors)
Setting the autoDiscoverClientInterceptors mechanism, if true, the component will look for a ClientInterceptor instance in the registry automatically otherwise it will skip that checking. The option is a:boolean
type. Default: true Group: common
-
autoDiscoverClientInterceptors
default GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder autoDiscoverClientInterceptors(String autoDiscoverClientInterceptors)
Setting the autoDiscoverClientInterceptors mechanism, if true, the component will look for a ClientInterceptor instance in the registry automatically otherwise it will skip that checking. The option will be converted to aboolean
type. Default: true Group: common
-
flowControlWindow
default GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder flowControlWindow(int flowControlWindow)
The HTTP/2 flow control window size (MiB). The option is a:int
type. Default: 1048576 Group: common
-
flowControlWindow
default GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder flowControlWindow(String flowControlWindow)
The HTTP/2 flow control window size (MiB). The option will be converted to aint
type. Default: 1048576 Group: common
-
maxMessageSize
default GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder maxMessageSize(int maxMessageSize)
The maximum message size allowed to be received/sent (MiB). The option is a:int
type. Default: 4194304 Group: common
-
maxMessageSize
default GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder maxMessageSize(String maxMessageSize)
The maximum message size allowed to be received/sent (MiB). The option will be converted to aint
type. Default: 4194304 Group: common
-
lazyStartProducer
default GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option is a:boolean
type. Default: false Group: producer
-
lazyStartProducer
default GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option will be converted to aboolean
type. Default: false Group: producer
-
method
default GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder method(String method)
gRPC method name. The option is a:java.lang.String
type. Group: producer
-
producerStrategy
default GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder producerStrategy(GrpcEndpointBuilderFactory.GrpcProducerStrategy producerStrategy)
The mode used to communicate with a remote gRPC server. In SIMPLE mode a single exchange is translated into a remote procedure call. In STREAMING mode all exchanges will be sent within the same request (input and output of the recipient gRPC service must be of type 'stream'). The option is a:org.apache.camel.component.grpc.GrpcProducerStrategy
type. Default: SIMPLE Group: producer
-
producerStrategy
default GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder producerStrategy(String producerStrategy)
The mode used to communicate with a remote gRPC server. In SIMPLE mode a single exchange is translated into a remote procedure call. In STREAMING mode all exchanges will be sent within the same request (input and output of the recipient gRPC service must be of type 'stream'). The option will be converted to aorg.apache.camel.component.grpc.GrpcProducerStrategy
type. Default: SIMPLE Group: producer
-
streamRepliesTo
default GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder streamRepliesTo(String streamRepliesTo)
When using STREAMING client mode, it indicates the endpoint where responses should be forwarded. The option is a:java.lang.String
type. Group: producer
-
userAgent
default GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder userAgent(String userAgent)
The user agent header passed to the server. The option is a:java.lang.String
type. Group: producer
-
authenticationType
default GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder authenticationType(GrpcEndpointBuilderFactory.GrpcAuthType authenticationType)
Authentication method type in advance to the SSL/TLS negotiation. The option is a:org.apache.camel.component.grpc.GrpcAuthType
type. Default: NONE Group: security
-
authenticationType
default GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder authenticationType(String authenticationType)
Authentication method type in advance to the SSL/TLS negotiation. The option will be converted to aorg.apache.camel.component.grpc.GrpcAuthType
type. Default: NONE Group: security
-
jwtAlgorithm
default GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder jwtAlgorithm(GrpcEndpointBuilderFactory.JwtAlgorithm jwtAlgorithm)
JSON Web Token sign algorithm. The option is a:org.apache.camel.component.grpc.auth.jwt.JwtAlgorithm
type. Default: HMAC256 Group: security
-
jwtAlgorithm
default GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder jwtAlgorithm(String jwtAlgorithm)
JSON Web Token sign algorithm. The option will be converted to aorg.apache.camel.component.grpc.auth.jwt.JwtAlgorithm
type. Default: HMAC256 Group: security
-
jwtIssuer
default GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder jwtIssuer(String jwtIssuer)
JSON Web Token issuer. The option is a:java.lang.String
type. Group: security
-
jwtSecret
default GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder jwtSecret(String jwtSecret)
JSON Web Token secret. The option is a:java.lang.String
type. Group: security
-
jwtSubject
default GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder jwtSubject(String jwtSubject)
JSON Web Token subject. The option is a:java.lang.String
type. Group: security
-
keyCertChainResource
default GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder keyCertChainResource(String keyCertChainResource)
The X.509 certificate chain file resource in PEM format link. The option is a:java.lang.String
type. Group: security
-
keyPassword
default GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder keyPassword(String keyPassword)
The PKCS#8 private key file password. The option is a:java.lang.String
type. Group: security
-
keyResource
default GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder keyResource(String keyResource)
The PKCS#8 private key file resource in PEM format link. The option is a:java.lang.String
type. Group: security
-
negotiationType
default GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder negotiationType(GrpcEndpointBuilderFactory.NegotiationType negotiationType)
Identifies the security negotiation type used for HTTP/2 communication. The option is a:io.grpc.netty.NegotiationType
type. Default: PLAINTEXT Group: security
-
negotiationType
default GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder negotiationType(String negotiationType)
Identifies the security negotiation type used for HTTP/2 communication. The option will be converted to aio.grpc.netty.NegotiationType
type. Default: PLAINTEXT Group: security
-
serviceAccountResource
default GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder serviceAccountResource(String serviceAccountResource)
Service Account key file in JSON format resource link supported by the Google Cloud SDK. The option is a:java.lang.String
type. Group: security
-
trustCertCollectionResource
default GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder trustCertCollectionResource(String trustCertCollectionResource)
The trusted certificates collection file resource in PEM format for verifying the remote endpoint's certificate. The option is a:java.lang.String
type. Group: security
-
-