Interface BoxEndpointBuilderFactory.AdvancedBoxEndpointConsumerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
- All Known Subinterfaces:
BoxEndpointBuilderFactory.AdvancedBoxEndpointBuilder
- Enclosing interface:
- BoxEndpointBuilderFactory
public static interface BoxEndpointBuilderFactory.AdvancedBoxEndpointConsumerBuilder extends org.apache.camel.builder.EndpointConsumerBuilder
Advanced builder for endpoint consumers for the Box component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default BoxEndpointBuilderFactory.AdvancedBoxEndpointConsumerBuilder
accessTokenCache(com.box.sdk.IAccessTokenCache accessTokenCache)
Custom Access Token Cache for storing and retrieving access tokens.default BoxEndpointBuilderFactory.AdvancedBoxEndpointConsumerBuilder
accessTokenCache(String accessTokenCache)
Custom Access Token Cache for storing and retrieving access tokens.default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder
basic()
default BoxEndpointBuilderFactory.AdvancedBoxEndpointConsumerBuilder
encryptionAlgorithm(com.box.sdk.EncryptionAlgorithm encryptionAlgorithm)
The type of encryption algorithm for JWT.default BoxEndpointBuilderFactory.AdvancedBoxEndpointConsumerBuilder
encryptionAlgorithm(String encryptionAlgorithm)
The type of encryption algorithm for JWT.default BoxEndpointBuilderFactory.AdvancedBoxEndpointConsumerBuilder
exceptionHandler(String exceptionHandler)
To let the consumer use a custom ExceptionHandler.default BoxEndpointBuilderFactory.AdvancedBoxEndpointConsumerBuilder
exceptionHandler(org.apache.camel.spi.ExceptionHandler exceptionHandler)
To let the consumer use a custom ExceptionHandler.default BoxEndpointBuilderFactory.AdvancedBoxEndpointConsumerBuilder
exchangePattern(String exchangePattern)
Sets the exchange pattern when the consumer creates an exchange.default BoxEndpointBuilderFactory.AdvancedBoxEndpointConsumerBuilder
exchangePattern(org.apache.camel.ExchangePattern exchangePattern)
Sets the exchange pattern when the consumer creates an exchange.default BoxEndpointBuilderFactory.AdvancedBoxEndpointConsumerBuilder
httpParams(String httpParams)
Custom HTTP params for settings like proxy host.default BoxEndpointBuilderFactory.AdvancedBoxEndpointConsumerBuilder
httpParams(Map<String,Object> httpParams)
Custom HTTP params for settings like proxy host.default BoxEndpointBuilderFactory.AdvancedBoxEndpointConsumerBuilder
maxCacheEntries(int maxCacheEntries)
The maximum number of access tokens in cache.default BoxEndpointBuilderFactory.AdvancedBoxEndpointConsumerBuilder
maxCacheEntries(String maxCacheEntries)
The maximum number of access tokens in cache.
-
-
-
Method Detail
-
basic
default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder basic()
-
exceptionHandler
default BoxEndpointBuilderFactory.AdvancedBoxEndpointConsumerBuilder 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: <code>org.apache.camel.spi.ExceptionHandler</code> type. Group: consumer (advanced)- Parameters:
exceptionHandler
- the value to set- Returns:
- the dsl builder
-
exceptionHandler
default BoxEndpointBuilderFactory.AdvancedBoxEndpointConsumerBuilder 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 a <code>org.apache.camel.spi.ExceptionHandler</code> type. Group: consumer (advanced)- Parameters:
exceptionHandler
- the value to set- Returns:
- the dsl builder
-
exchangePattern
default BoxEndpointBuilderFactory.AdvancedBoxEndpointConsumerBuilder exchangePattern(org.apache.camel.ExchangePattern exchangePattern)
Sets the exchange pattern when the consumer creates an exchange. The option is a: <code>org.apache.camel.ExchangePattern</code> type. Group: consumer (advanced)- Parameters:
exchangePattern
- the value to set- Returns:
- the dsl builder
-
exchangePattern
default BoxEndpointBuilderFactory.AdvancedBoxEndpointConsumerBuilder exchangePattern(String exchangePattern)
Sets the exchange pattern when the consumer creates an exchange. The option will be converted to a <code>org.apache.camel.ExchangePattern</code> type. Group: consumer (advanced)- Parameters:
exchangePattern
- the value to set- Returns:
- the dsl builder
-
httpParams
default BoxEndpointBuilderFactory.AdvancedBoxEndpointConsumerBuilder httpParams(Map<String,Object> httpParams)
Custom HTTP params for settings like proxy host. The option is a: <code>java.util.Map<java.lang.String, java.lang.Object></code> type. Group: advanced- Parameters:
httpParams
- the value to set- Returns:
- the dsl builder
-
httpParams
default BoxEndpointBuilderFactory.AdvancedBoxEndpointConsumerBuilder httpParams(String httpParams)
Custom HTTP params for settings like proxy host. The option will be converted to a <code>java.util.Map<java.lang.String, java.lang.Object></code> type. Group: advanced- Parameters:
httpParams
- the value to set- Returns:
- the dsl builder
-
accessTokenCache
default BoxEndpointBuilderFactory.AdvancedBoxEndpointConsumerBuilder accessTokenCache(com.box.sdk.IAccessTokenCache accessTokenCache)
Custom Access Token Cache for storing and retrieving access tokens. The option is a: <code>com.box.sdk.IAccessTokenCache</code> type. Group: security- Parameters:
accessTokenCache
- the value to set- Returns:
- the dsl builder
-
accessTokenCache
default BoxEndpointBuilderFactory.AdvancedBoxEndpointConsumerBuilder accessTokenCache(String accessTokenCache)
Custom Access Token Cache for storing and retrieving access tokens. The option will be converted to a <code>com.box.sdk.IAccessTokenCache</code> type. Group: security- Parameters:
accessTokenCache
- the value to set- Returns:
- the dsl builder
-
encryptionAlgorithm
default BoxEndpointBuilderFactory.AdvancedBoxEndpointConsumerBuilder encryptionAlgorithm(com.box.sdk.EncryptionAlgorithm encryptionAlgorithm)
The type of encryption algorithm for JWT. Supported Algorithms: RSA_SHA_256 RSA_SHA_384 RSA_SHA_512. The option is a: <code>com.box.sdk.EncryptionAlgorithm</code> type. Default: RSA_SHA_256 Group: security- Parameters:
encryptionAlgorithm
- the value to set- Returns:
- the dsl builder
-
encryptionAlgorithm
default BoxEndpointBuilderFactory.AdvancedBoxEndpointConsumerBuilder encryptionAlgorithm(String encryptionAlgorithm)
The type of encryption algorithm for JWT. Supported Algorithms: RSA_SHA_256 RSA_SHA_384 RSA_SHA_512. The option will be converted to a <code>com.box.sdk.EncryptionAlgorithm</code> type. Default: RSA_SHA_256 Group: security- Parameters:
encryptionAlgorithm
- the value to set- Returns:
- the dsl builder
-
maxCacheEntries
default BoxEndpointBuilderFactory.AdvancedBoxEndpointConsumerBuilder maxCacheEntries(int maxCacheEntries)
The maximum number of access tokens in cache. The option is a: <code>int</code> type. Default: 100 Group: security- Parameters:
maxCacheEntries
- the value to set- Returns:
- the dsl builder
-
maxCacheEntries
default BoxEndpointBuilderFactory.AdvancedBoxEndpointConsumerBuilder maxCacheEntries(String maxCacheEntries)
The maximum number of access tokens in cache. The option will be converted to a <code>int</code> type. Default: 100 Group: security- Parameters:
maxCacheEntries
- the value to set- Returns:
- the dsl builder
-
-