Interface InfinispanEndpointBuilderFactory.AdvancedInfinispanEndpointConsumerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
- All Known Subinterfaces:
InfinispanEndpointBuilderFactory.AdvancedInfinispanEndpointBuilder
- Enclosing interface:
- InfinispanEndpointBuilderFactory
public static interface InfinispanEndpointBuilderFactory.AdvancedInfinispanEndpointConsumerBuilder extends org.apache.camel.builder.EndpointConsumerBuilder
Advanced builder for endpoint consumers for the Infinispan component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default InfinispanEndpointBuilderFactory.InfinispanEndpointConsumerBuilder
basic()
default InfinispanEndpointBuilderFactory.AdvancedInfinispanEndpointConsumerBuilder
basicPropertyBinding(boolean basicPropertyBinding)
Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities.default InfinispanEndpointBuilderFactory.AdvancedInfinispanEndpointConsumerBuilder
basicPropertyBinding(String basicPropertyBinding)
Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities.default InfinispanEndpointBuilderFactory.AdvancedInfinispanEndpointConsumerBuilder
cacheContainer(Object cacheContainer)
Specifies the cache Container to connect.default InfinispanEndpointBuilderFactory.AdvancedInfinispanEndpointConsumerBuilder
cacheContainer(String cacheContainer)
Specifies the cache Container to connect.default InfinispanEndpointBuilderFactory.AdvancedInfinispanEndpointConsumerBuilder
cacheContainerConfiguration(Object cacheContainerConfiguration)
The CacheContainer configuration.default InfinispanEndpointBuilderFactory.AdvancedInfinispanEndpointConsumerBuilder
cacheContainerConfiguration(String cacheContainerConfiguration)
The CacheContainer configuration.default InfinispanEndpointBuilderFactory.AdvancedInfinispanEndpointConsumerBuilder
configurationProperties(String configurationProperties)
Implementation specific properties for the CacheManager.default InfinispanEndpointBuilderFactory.AdvancedInfinispanEndpointConsumerBuilder
configurationProperties(Map<String,String> configurationProperties)
Implementation specific properties for the CacheManager.default InfinispanEndpointBuilderFactory.AdvancedInfinispanEndpointConsumerBuilder
configurationUri(String configurationUri)
An implementation specific URI for the CacheManager.default InfinispanEndpointBuilderFactory.AdvancedInfinispanEndpointConsumerBuilder
exceptionHandler(String exceptionHandler)
To let the consumer use a custom ExceptionHandler.default InfinispanEndpointBuilderFactory.AdvancedInfinispanEndpointConsumerBuilder
exceptionHandler(org.apache.camel.spi.ExceptionHandler exceptionHandler)
To let the consumer use a custom ExceptionHandler.default InfinispanEndpointBuilderFactory.AdvancedInfinispanEndpointConsumerBuilder
exchangePattern(String exchangePattern)
Sets the exchange pattern when the consumer creates an exchange.default InfinispanEndpointBuilderFactory.AdvancedInfinispanEndpointConsumerBuilder
exchangePattern(org.apache.camel.ExchangePattern exchangePattern)
Sets the exchange pattern when the consumer creates an exchange.default InfinispanEndpointBuilderFactory.AdvancedInfinispanEndpointConsumerBuilder
flags(String flags)
A comma separated list of Flag to be applied by default on each cache invocation, not applicable to remote caches.default InfinispanEndpointBuilderFactory.AdvancedInfinispanEndpointConsumerBuilder
flags(InfinispanEndpointBuilderFactory.Flag[] flags)
A comma separated list of Flag to be applied by default on each cache invocation, not applicable to remote caches.default InfinispanEndpointBuilderFactory.AdvancedInfinispanEndpointConsumerBuilder
remappingFunction(String remappingFunction)
Set a specific remappingFunction to use in a compute operation.default InfinispanEndpointBuilderFactory.AdvancedInfinispanEndpointConsumerBuilder
remappingFunction(BiFunction remappingFunction)
Set a specific remappingFunction to use in a compute operation.default InfinispanEndpointBuilderFactory.AdvancedInfinispanEndpointConsumerBuilder
resultHeader(Object resultHeader)
Store the operation result in a header instead of the message body.default InfinispanEndpointBuilderFactory.AdvancedInfinispanEndpointConsumerBuilder
resultHeader(String resultHeader)
Store the operation result in a header instead of the message body.default InfinispanEndpointBuilderFactory.AdvancedInfinispanEndpointConsumerBuilder
synchronous(boolean synchronous)
Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).default InfinispanEndpointBuilderFactory.AdvancedInfinispanEndpointConsumerBuilder
synchronous(String synchronous)
Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).
-
-
-
Method Detail
-
basic
default InfinispanEndpointBuilderFactory.InfinispanEndpointConsumerBuilder basic()
-
exceptionHandler
default InfinispanEndpointBuilderFactory.AdvancedInfinispanEndpointConsumerBuilder exceptionHandler(org.apache.camel.spi.ExceptionHandler exceptionHandler)
To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option is a:org.apache.camel.spi.ExceptionHandler
type. Group: consumer (advanced)
-
exceptionHandler
default InfinispanEndpointBuilderFactory.AdvancedInfinispanEndpointConsumerBuilder exceptionHandler(String exceptionHandler)
To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option will be converted to aorg.apache.camel.spi.ExceptionHandler
type. Group: consumer (advanced)
-
exchangePattern
default InfinispanEndpointBuilderFactory.AdvancedInfinispanEndpointConsumerBuilder exchangePattern(org.apache.camel.ExchangePattern exchangePattern)
Sets the exchange pattern when the consumer creates an exchange. The option is a:org.apache.camel.ExchangePattern
type. Group: consumer (advanced)
-
exchangePattern
default InfinispanEndpointBuilderFactory.AdvancedInfinispanEndpointConsumerBuilder exchangePattern(String exchangePattern)
Sets the exchange pattern when the consumer creates an exchange. The option will be converted to aorg.apache.camel.ExchangePattern
type. Group: consumer (advanced)
-
basicPropertyBinding
default InfinispanEndpointBuilderFactory.AdvancedInfinispanEndpointConsumerBuilder basicPropertyBinding(boolean basicPropertyBinding)
Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities. The option is a:boolean
type. Default: false Group: advanced
-
basicPropertyBinding
default InfinispanEndpointBuilderFactory.AdvancedInfinispanEndpointConsumerBuilder basicPropertyBinding(String basicPropertyBinding)
Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities. The option will be converted to aboolean
type. Default: false Group: advanced
-
cacheContainer
default InfinispanEndpointBuilderFactory.AdvancedInfinispanEndpointConsumerBuilder cacheContainer(Object cacheContainer)
Specifies the cache Container to connect. The option is a:org.infinispan.commons.api.BasicCacheContainer
type. Group: advanced
-
cacheContainer
default InfinispanEndpointBuilderFactory.AdvancedInfinispanEndpointConsumerBuilder cacheContainer(String cacheContainer)
Specifies the cache Container to connect. The option will be converted to aorg.infinispan.commons.api.BasicCacheContainer
type. Group: advanced
-
cacheContainerConfiguration
default InfinispanEndpointBuilderFactory.AdvancedInfinispanEndpointConsumerBuilder cacheContainerConfiguration(Object cacheContainerConfiguration)
The CacheContainer configuration. Uses if the cacheContainer is not defined. Must be the following types: org.infinispan.client.hotrod.configuration.Configuration - for remote cache interaction configuration; org.infinispan.configuration.cache.Configuration - for embedded cache interaction configuration;. The option is a:java.lang.Object
type. Group: advanced
-
cacheContainerConfiguration
default InfinispanEndpointBuilderFactory.AdvancedInfinispanEndpointConsumerBuilder cacheContainerConfiguration(String cacheContainerConfiguration)
The CacheContainer configuration. Uses if the cacheContainer is not defined. Must be the following types: org.infinispan.client.hotrod.configuration.Configuration - for remote cache interaction configuration; org.infinispan.configuration.cache.Configuration - for embedded cache interaction configuration;. The option will be converted to ajava.lang.Object
type. Group: advanced
-
configurationProperties
default InfinispanEndpointBuilderFactory.AdvancedInfinispanEndpointConsumerBuilder configurationProperties(Map<String,String> configurationProperties)
Implementation specific properties for the CacheManager. The option is a:java.util.Map<java.lang.String, java.lang.String>
type. Group: advanced
-
configurationProperties
default InfinispanEndpointBuilderFactory.AdvancedInfinispanEndpointConsumerBuilder configurationProperties(String configurationProperties)
Implementation specific properties for the CacheManager. The option will be converted to ajava.util.Map<java.lang.String, java.lang.String>
type. Group: advanced
-
configurationUri
default InfinispanEndpointBuilderFactory.AdvancedInfinispanEndpointConsumerBuilder configurationUri(String configurationUri)
An implementation specific URI for the CacheManager. The option is a:java.lang.String
type. Group: advanced
-
flags
default InfinispanEndpointBuilderFactory.AdvancedInfinispanEndpointConsumerBuilder flags(InfinispanEndpointBuilderFactory.Flag[] flags)
A comma separated list of Flag to be applied by default on each cache invocation, not applicable to remote caches. The option is a:org.infinispan.context.Flag[]
type. Group: advanced
-
flags
default InfinispanEndpointBuilderFactory.AdvancedInfinispanEndpointConsumerBuilder flags(String flags)
A comma separated list of Flag to be applied by default on each cache invocation, not applicable to remote caches. The option will be converted to aorg.infinispan.context.Flag[]
type. Group: advanced
-
remappingFunction
default InfinispanEndpointBuilderFactory.AdvancedInfinispanEndpointConsumerBuilder remappingFunction(BiFunction remappingFunction)
Set a specific remappingFunction to use in a compute operation. The option is a:java.util.function.BiFunction
type. Group: advanced
-
remappingFunction
default InfinispanEndpointBuilderFactory.AdvancedInfinispanEndpointConsumerBuilder remappingFunction(String remappingFunction)
Set a specific remappingFunction to use in a compute operation. The option will be converted to ajava.util.function.BiFunction
type. Group: advanced
-
resultHeader
default InfinispanEndpointBuilderFactory.AdvancedInfinispanEndpointConsumerBuilder resultHeader(Object resultHeader)
Store the operation result in a header instead of the message body. By default, resultHeader == null and the query result is stored in the message body, any existing content in the message body is discarded. If resultHeader is set, the value is used as the name of the header to store the query result and the original message body is preserved. This value can be overridden by an in message header named: CamelInfinispanOperationResultHeader. The option is a:java.lang.Object
type. Group: advanced
-
resultHeader
default InfinispanEndpointBuilderFactory.AdvancedInfinispanEndpointConsumerBuilder resultHeader(String resultHeader)
Store the operation result in a header instead of the message body. By default, resultHeader == null and the query result is stored in the message body, any existing content in the message body is discarded. If resultHeader is set, the value is used as the name of the header to store the query result and the original message body is preserved. This value can be overridden by an in message header named: CamelInfinispanOperationResultHeader. The option will be converted to ajava.lang.Object
type. Group: advanced
-
synchronous
default InfinispanEndpointBuilderFactory.AdvancedInfinispanEndpointConsumerBuilder synchronous(boolean synchronous)
Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). The option is a:boolean
type. Default: false Group: advanced
-
synchronous
default InfinispanEndpointBuilderFactory.AdvancedInfinispanEndpointConsumerBuilder synchronous(String synchronous)
Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). The option will be converted to aboolean
type. Default: false Group: advanced
-
-