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, getUriMethods inherited from interface org.apache.camel.EndpointConsumerResolver
resolve, resolveMethods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUriMethods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolveMethods inherited from interface org.apache.camel.builder.endpoint.dsl.GrpcEndpointBuilderFactory.GrpcEndpointConsumerBuilder
autoDiscoverServerInterceptors, autoDiscoverServerInterceptors, consumerStrategy, consumerStrategy, forwardOnCompleted, forwardOnCompleted, forwardOnError, forwardOnError, maxConcurrentCallsPerConnection, maxConcurrentCallsPerConnection, routeControlledStreamObserver, routeControlledStreamObserverMethods inherited from interface org.apache.camel.builder.endpoint.dsl.GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder
autoDiscoverClientInterceptors, autoDiscoverClientInterceptors, method, producerStrategy, producerStrategy, streamRepliesTo, userAgent
-
Method Details
-
advanced
- Specified by:
advancedin interfaceGrpcEndpointBuilderFactory.GrpcEndpointConsumerBuilder- Specified by:
advancedin 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:
flowControlWindowin interfaceGrpcEndpointBuilderFactory.GrpcEndpointConsumerBuilder- Specified by:
flowControlWindowin 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:
flowControlWindowin interfaceGrpcEndpointBuilderFactory.GrpcEndpointConsumerBuilder- Specified by:
flowControlWindowin 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:
maxMessageSizein interfaceGrpcEndpointBuilderFactory.GrpcEndpointConsumerBuilder- Specified by:
maxMessageSizein 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:
maxMessageSizein interfaceGrpcEndpointBuilderFactory.GrpcEndpointConsumerBuilder- Specified by:
maxMessageSizein 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:
authenticationTypein interfaceGrpcEndpointBuilderFactory.GrpcEndpointConsumerBuilder- Specified by:
authenticationTypein 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:
authenticationTypein interfaceGrpcEndpointBuilderFactory.GrpcEndpointConsumerBuilder- Specified by:
authenticationTypein 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:
jwtAlgorithmin interfaceGrpcEndpointBuilderFactory.GrpcEndpointConsumerBuilder- Specified by:
jwtAlgorithmin 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:
jwtAlgorithmin interfaceGrpcEndpointBuilderFactory.GrpcEndpointConsumerBuilder- Specified by:
jwtAlgorithmin 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:
jwtIssuerin interfaceGrpcEndpointBuilderFactory.GrpcEndpointConsumerBuilder- Specified by:
jwtIssuerin 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:
jwtSecretin interfaceGrpcEndpointBuilderFactory.GrpcEndpointConsumerBuilder- Specified by:
jwtSecretin 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:
jwtSubjectin interfaceGrpcEndpointBuilderFactory.GrpcEndpointConsumerBuilder- Specified by:
jwtSubjectin 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:
keyCertChainResourcein interfaceGrpcEndpointBuilderFactory.GrpcEndpointConsumerBuilder- Specified by:
keyCertChainResourcein 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:
keyPasswordin interfaceGrpcEndpointBuilderFactory.GrpcEndpointConsumerBuilder- Specified by:
keyPasswordin 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:
keyResourcein interfaceGrpcEndpointBuilderFactory.GrpcEndpointConsumerBuilder- Specified by:
keyResourcein 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:
negotiationTypein interfaceGrpcEndpointBuilderFactory.GrpcEndpointConsumerBuilder- Specified by:
negotiationTypein 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:
negotiationTypein interfaceGrpcEndpointBuilderFactory.GrpcEndpointConsumerBuilder- Specified by:
negotiationTypein 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:
serviceAccountResourcein interfaceGrpcEndpointBuilderFactory.GrpcEndpointConsumerBuilder- Specified by:
serviceAccountResourcein 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:
trustCertCollectionResourcein interfaceGrpcEndpointBuilderFactory.GrpcEndpointConsumerBuilder- Specified by:
trustCertCollectionResourcein interfaceGrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder- Parameters:
trustCertCollectionResource- the value to set- Returns:
- the dsl builder
-