Interface GrpcEndpointBuilderFactory.GrpcEndpointBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
,org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
,GrpcEndpointBuilderFactory.GrpcEndpointConsumerBuilder
,GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder
- Enclosing interface:
- GrpcEndpointBuilderFactory
public static interface GrpcEndpointBuilderFactory.GrpcEndpointBuilder
extends GrpcEndpointBuilderFactory.GrpcEndpointConsumerBuilder, GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder
Builder for endpoint for the gRPC component.
-
Method Summary
Modifier and TypeMethodDescriptionadvanced()
authenticationType
(String authenticationType) Authentication method type in advance to the SSL/TLS negotiation.authenticationType
(org.apache.camel.component.grpc.GrpcAuthType authenticationType) Authentication method type in advance to the SSL/TLS negotiation.flowControlWindow
(int flowControlWindow) The HTTP/2 flow control window size (MiB).flowControlWindow
(String flowControlWindow) The HTTP/2 flow control window size (MiB).jwtAlgorithm
(String jwtAlgorithm) JSON Web Token sign algorithm.jwtAlgorithm
(org.apache.camel.component.grpc.auth.jwt.JwtAlgorithm jwtAlgorithm) JSON Web Token sign algorithm.JSON Web Token issuer.JSON Web Token secret.jwtSubject
(String jwtSubject) JSON Web Token subject.keyCertChainResource
(String keyCertChainResource) The X.509 certificate chain file resource in PEM format link.keyPassword
(String keyPassword) The PKCS#8 private key file password.keyResource
(String keyResource) The PKCS#8 private key file resource in PEM format link.maxMessageSize
(int maxMessageSize) The maximum message size allowed to be received/sent (MiB).maxMessageSize
(String maxMessageSize) The maximum message size allowed to be received/sent (MiB).negotiationType
(io.grpc.netty.NegotiationType negotiationType) Identifies the security negotiation type used for HTTP/2 communication.negotiationType
(String negotiationType) Identifies the security negotiation type used for HTTP/2 communication.serviceAccountResource
(String serviceAccountResource) Service Account key file in JSON format resource link supported by the Google Cloud SDK.trustCertCollectionResource
(String trustCertCollectionResource) The trusted certificates collection file resource in PEM format for verifying the remote endpoint's certificate.Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointConsumerResolver
resolve, resolve
Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolve
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.GrpcEndpointBuilderFactory.GrpcEndpointConsumerBuilder
autoDiscoverServerInterceptors, autoDiscoverServerInterceptors, consumerStrategy, consumerStrategy, forwardOnCompleted, forwardOnCompleted, forwardOnError, forwardOnError, maxConcurrentCallsPerConnection, maxConcurrentCallsPerConnection, routeControlledStreamObserver, routeControlledStreamObserver
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder
autoDiscoverClientInterceptors, autoDiscoverClientInterceptors, method, producerStrategy, producerStrategy, streamRepliesTo, userAgent
-
Method Details
-
advanced
- Specified by:
advanced
in interfaceGrpcEndpointBuilderFactory.GrpcEndpointConsumerBuilder
- Specified by:
advanced
in interfaceGrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder
-
flowControlWindow
The HTTP/2 flow control window size (MiB). The option is a: <code>int</code> type. Default: 1048576 Group: common- Specified by:
flowControlWindow
in interfaceGrpcEndpointBuilderFactory.GrpcEndpointConsumerBuilder
- Specified by:
flowControlWindow
in interfaceGrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder
- Parameters:
flowControlWindow
- the value to set- Returns:
- the dsl builder
-
flowControlWindow
The HTTP/2 flow control window size (MiB). The option will be converted to a <code>int</code> type. Default: 1048576 Group: common- Specified by:
flowControlWindow
in interfaceGrpcEndpointBuilderFactory.GrpcEndpointConsumerBuilder
- Specified by:
flowControlWindow
in interfaceGrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder
- Parameters:
flowControlWindow
- the value to set- Returns:
- the dsl builder
-
maxMessageSize
The maximum message size allowed to be received/sent (MiB). The option is a: <code>int</code> type. Default: 4194304 Group: common- Specified by:
maxMessageSize
in interfaceGrpcEndpointBuilderFactory.GrpcEndpointConsumerBuilder
- Specified by:
maxMessageSize
in interfaceGrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder
- Parameters:
maxMessageSize
- the value to set- Returns:
- the dsl builder
-
maxMessageSize
The maximum message size allowed to be received/sent (MiB). The option will be converted to a <code>int</code> type. Default: 4194304 Group: common- Specified by:
maxMessageSize
in interfaceGrpcEndpointBuilderFactory.GrpcEndpointConsumerBuilder
- Specified by:
maxMessageSize
in interfaceGrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder
- Parameters:
maxMessageSize
- the value to set- Returns:
- the dsl builder
-
authenticationType
default GrpcEndpointBuilderFactory.GrpcEndpointBuilder authenticationType(org.apache.camel.component.grpc.GrpcAuthType authenticationType) Authentication method type in advance to the SSL/TLS negotiation. The option is a: <code>org.apache.camel.component.grpc.GrpcAuthType</code> type. Default: NONE Group: security- Specified by:
authenticationType
in interfaceGrpcEndpointBuilderFactory.GrpcEndpointConsumerBuilder
- Specified by:
authenticationType
in interfaceGrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder
- Parameters:
authenticationType
- the value to set- Returns:
- the dsl builder
-
authenticationType
default GrpcEndpointBuilderFactory.GrpcEndpointBuilder authenticationType(String authenticationType) Authentication method type in advance to the SSL/TLS negotiation. The option will be converted to a <code>org.apache.camel.component.grpc.GrpcAuthType</code> type. Default: NONE Group: security- Specified by:
authenticationType
in interfaceGrpcEndpointBuilderFactory.GrpcEndpointConsumerBuilder
- Specified by:
authenticationType
in interfaceGrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder
- Parameters:
authenticationType
- the value to set- Returns:
- the dsl builder
-
jwtAlgorithm
default GrpcEndpointBuilderFactory.GrpcEndpointBuilder jwtAlgorithm(org.apache.camel.component.grpc.auth.jwt.JwtAlgorithm jwtAlgorithm) JSON Web Token sign algorithm. The option is a: <code>org.apache.camel.component.grpc.auth.jwt.JwtAlgorithm</code> type. Default: HMAC256 Group: security- Specified by:
jwtAlgorithm
in interfaceGrpcEndpointBuilderFactory.GrpcEndpointConsumerBuilder
- Specified by:
jwtAlgorithm
in interfaceGrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder
- Parameters:
jwtAlgorithm
- the value to set- Returns:
- the dsl builder
-
jwtAlgorithm
JSON Web Token sign algorithm. The option will be converted to a <code>org.apache.camel.component.grpc.auth.jwt.JwtAlgorithm</code> type. Default: HMAC256 Group: security- Specified by:
jwtAlgorithm
in interfaceGrpcEndpointBuilderFactory.GrpcEndpointConsumerBuilder
- Specified by:
jwtAlgorithm
in interfaceGrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder
- Parameters:
jwtAlgorithm
- the value to set- Returns:
- the dsl builder
-
jwtIssuer
JSON Web Token issuer. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
jwtIssuer
in interfaceGrpcEndpointBuilderFactory.GrpcEndpointConsumerBuilder
- Specified by:
jwtIssuer
in interfaceGrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder
- Parameters:
jwtIssuer
- the value to set- Returns:
- the dsl builder
-
jwtSecret
JSON Web Token secret. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
jwtSecret
in interfaceGrpcEndpointBuilderFactory.GrpcEndpointConsumerBuilder
- Specified by:
jwtSecret
in interfaceGrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder
- Parameters:
jwtSecret
- the value to set- Returns:
- the dsl builder
-
jwtSubject
JSON Web Token subject. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
jwtSubject
in interfaceGrpcEndpointBuilderFactory.GrpcEndpointConsumerBuilder
- Specified by:
jwtSubject
in interfaceGrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder
- Parameters:
jwtSubject
- the value to set- Returns:
- the dsl builder
-
keyCertChainResource
default GrpcEndpointBuilderFactory.GrpcEndpointBuilder keyCertChainResource(String keyCertChainResource) The X.509 certificate chain file resource in PEM format link. This option can also be loaded from an existing file, by prefixing with file: or classpath: followed by the location of the file. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
keyCertChainResource
in interfaceGrpcEndpointBuilderFactory.GrpcEndpointConsumerBuilder
- Specified by:
keyCertChainResource
in interfaceGrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder
- Parameters:
keyCertChainResource
- the value to set- Returns:
- the dsl builder
-
keyPassword
The PKCS#8 private key file password. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
keyPassword
in interfaceGrpcEndpointBuilderFactory.GrpcEndpointConsumerBuilder
- Specified by:
keyPassword
in interfaceGrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder
- Parameters:
keyPassword
- the value to set- Returns:
- the dsl builder
-
keyResource
The PKCS#8 private key file resource in PEM format link. This option can also be loaded from an existing file, by prefixing with file: or classpath: followed by the location of the file. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
keyResource
in interfaceGrpcEndpointBuilderFactory.GrpcEndpointConsumerBuilder
- Specified by:
keyResource
in interfaceGrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder
- Parameters:
keyResource
- the value to set- Returns:
- the dsl builder
-
negotiationType
default GrpcEndpointBuilderFactory.GrpcEndpointBuilder negotiationType(io.grpc.netty.NegotiationType negotiationType) Identifies the security negotiation type used for HTTP/2 communication. The option is a: <code>io.grpc.netty.NegotiationType</code> type. Default: PLAINTEXT Group: security- Specified by:
negotiationType
in interfaceGrpcEndpointBuilderFactory.GrpcEndpointConsumerBuilder
- Specified by:
negotiationType
in interfaceGrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder
- Parameters:
negotiationType
- the value to set- Returns:
- the dsl builder
-
negotiationType
Identifies the security negotiation type used for HTTP/2 communication. The option will be converted to a <code>io.grpc.netty.NegotiationType</code> type. Default: PLAINTEXT Group: security- Specified by:
negotiationType
in interfaceGrpcEndpointBuilderFactory.GrpcEndpointConsumerBuilder
- Specified by:
negotiationType
in interfaceGrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder
- Parameters:
negotiationType
- the value to set- Returns:
- the dsl builder
-
serviceAccountResource
default GrpcEndpointBuilderFactory.GrpcEndpointBuilder serviceAccountResource(String serviceAccountResource) Service Account key file in JSON format resource link supported by the Google Cloud SDK. This option can also be loaded from an existing file, by prefixing with file: or classpath: followed by the location of the file. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
serviceAccountResource
in interfaceGrpcEndpointBuilderFactory.GrpcEndpointConsumerBuilder
- Specified by:
serviceAccountResource
in interfaceGrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder
- Parameters:
serviceAccountResource
- the value to set- Returns:
- the dsl builder
-
trustCertCollectionResource
default GrpcEndpointBuilderFactory.GrpcEndpointBuilder trustCertCollectionResource(String trustCertCollectionResource) The trusted certificates collection file resource in PEM format for verifying the remote endpoint's certificate. This option can also be loaded from an existing file, by prefixing with file: or classpath: followed by the location of the file. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
trustCertCollectionResource
in interfaceGrpcEndpointBuilderFactory.GrpcEndpointConsumerBuilder
- Specified by:
trustCertCollectionResource
in interfaceGrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder
- Parameters:
trustCertCollectionResource
- the value to set- Returns:
- the dsl builder
-