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
All Methods Instance Methods Default Methods Modifier and Type Method Description default GrpcEndpointBuilderFactory.AdvancedGrpcEndpointBuilderadvanced()default GrpcEndpointBuilderFactory.GrpcEndpointBuilderauthenticationType(String authenticationType)Authentication method type in advance to the SSL/TLS negotiation.default GrpcEndpointBuilderFactory.GrpcEndpointBuilderauthenticationType(org.apache.camel.component.grpc.GrpcAuthType authenticationType)Authentication method type in advance to the SSL/TLS negotiation.default GrpcEndpointBuilderFactory.GrpcEndpointBuilderautoDiscoverClientInterceptors(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.GrpcEndpointBuilderautoDiscoverClientInterceptors(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.GrpcEndpointBuilderflowControlWindow(int flowControlWindow)The HTTP/2 flow control window size (MiB).default GrpcEndpointBuilderFactory.GrpcEndpointBuilderflowControlWindow(String flowControlWindow)The HTTP/2 flow control window size (MiB).default GrpcEndpointBuilderFactory.GrpcEndpointBuilderjwtAlgorithm(String jwtAlgorithm)JSON Web Token sign algorithm.default GrpcEndpointBuilderFactory.GrpcEndpointBuilderjwtAlgorithm(org.apache.camel.component.grpc.auth.jwt.JwtAlgorithm jwtAlgorithm)JSON Web Token sign algorithm.default GrpcEndpointBuilderFactory.GrpcEndpointBuilderjwtIssuer(String jwtIssuer)JSON Web Token issuer.default GrpcEndpointBuilderFactory.GrpcEndpointBuilderjwtSecret(String jwtSecret)JSON Web Token secret.default GrpcEndpointBuilderFactory.GrpcEndpointBuilderjwtSubject(String jwtSubject)JSON Web Token subject.default GrpcEndpointBuilderFactory.GrpcEndpointBuilderkeyCertChainResource(String keyCertChainResource)The X.509 certificate chain file resource in PEM format link.default GrpcEndpointBuilderFactory.GrpcEndpointBuilderkeyPassword(String keyPassword)The PKCS#8 private key file password.default GrpcEndpointBuilderFactory.GrpcEndpointBuilderkeyResource(String keyResource)The PKCS#8 private key file resource in PEM format link.default GrpcEndpointBuilderFactory.GrpcEndpointBuildermaxMessageSize(int maxMessageSize)The maximum message size allowed to be received/sent (MiB).default GrpcEndpointBuilderFactory.GrpcEndpointBuildermaxMessageSize(String maxMessageSize)The maximum message size allowed to be received/sent (MiB).default GrpcEndpointBuilderFactory.GrpcEndpointBuildernegotiationType(io.grpc.netty.NegotiationType negotiationType)Identifies the security negotiation type used for HTTP/2 communication.default GrpcEndpointBuilderFactory.GrpcEndpointBuildernegotiationType(String negotiationType)Identifies the security negotiation type used for HTTP/2 communication.default GrpcEndpointBuilderFactory.GrpcEndpointBuilderserviceAccountResource(String serviceAccountResource)Service Account key file in JSON format resource link supported by the Google Cloud SDK.default GrpcEndpointBuilderFactory.GrpcEndpointBuildertrustCertCollectionResource(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, getUri
-
Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getUri
-
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.GrpcEndpointBuilderFactory.GrpcEndpointConsumerBuilder
bridgeErrorHandler, bridgeErrorHandler, consumerStrategy, consumerStrategy, forwardOnCompleted, forwardOnCompleted, forwardOnError, forwardOnError, maxConcurrentCallsPerConnection, maxConcurrentCallsPerConnection, routeControlledStreamObserver, routeControlledStreamObserver
-
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.GrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder
lazyStartProducer, lazyStartProducer, method, producerStrategy, producerStrategy, streamRepliesTo, userAgent
-
-
-
-
Method Detail
-
advanced
default GrpcEndpointBuilderFactory.AdvancedGrpcEndpointBuilder advanced()
- Specified by:
advancedin interfaceGrpcEndpointBuilderFactory.GrpcEndpointConsumerBuilder- Specified by:
advancedin interfaceGrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder
-
autoDiscoverClientInterceptors
default GrpcEndpointBuilderFactory.GrpcEndpointBuilder 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: <code>boolean</code> type. Default: true Group: common- Specified by:
autoDiscoverClientInterceptorsin interfaceGrpcEndpointBuilderFactory.GrpcEndpointConsumerBuilder- Specified by:
autoDiscoverClientInterceptorsin interfaceGrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder- Parameters:
autoDiscoverClientInterceptors- the value to set- Returns:
- the dsl builder
-
autoDiscoverClientInterceptors
default GrpcEndpointBuilderFactory.GrpcEndpointBuilder 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 a <code>boolean</code> type. Default: true Group: common- Specified by:
autoDiscoverClientInterceptorsin interfaceGrpcEndpointBuilderFactory.GrpcEndpointConsumerBuilder- Specified by:
autoDiscoverClientInterceptorsin interfaceGrpcEndpointBuilderFactory.GrpcEndpointProducerBuilder- Parameters:
autoDiscoverClientInterceptors- the value to set- Returns:
- the dsl builder
-
flowControlWindow
default GrpcEndpointBuilderFactory.GrpcEndpointBuilder flowControlWindow(int 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
default GrpcEndpointBuilderFactory.GrpcEndpointBuilder flowControlWindow(String 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
default GrpcEndpointBuilderFactory.GrpcEndpointBuilder maxMessageSize(int 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
default GrpcEndpointBuilderFactory.GrpcEndpointBuilder maxMessageSize(String 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
default GrpcEndpointBuilderFactory.GrpcEndpointBuilder jwtAlgorithm(String 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
default GrpcEndpointBuilderFactory.GrpcEndpointBuilder jwtIssuer(String 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
default GrpcEndpointBuilderFactory.GrpcEndpointBuilder jwtSecret(String 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
default GrpcEndpointBuilderFactory.GrpcEndpointBuilder jwtSubject(String 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. 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
default GrpcEndpointBuilderFactory.GrpcEndpointBuilder keyPassword(String 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
default GrpcEndpointBuilderFactory.GrpcEndpointBuilder keyResource(String keyResource)
The PKCS#8 private key file resource in PEM format link. 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
default GrpcEndpointBuilderFactory.GrpcEndpointBuilder negotiationType(String 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. 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. 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
-
-