Interface TelegramEndpointBuilderFactory.AdvancedTelegramEndpointProducerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- All Known Subinterfaces:
TelegramEndpointBuilderFactory.AdvancedTelegramEndpointBuilder
- Enclosing interface:
- TelegramEndpointBuilderFactory
public static interface TelegramEndpointBuilderFactory.AdvancedTelegramEndpointProducerBuilder extends org.apache.camel.builder.EndpointProducerBuilder
Advanced builder for endpoint producers for the Telegram component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default TelegramEndpointBuilderFactory.AdvancedTelegramEndpointProducerBuilder
baseUri(String baseUri)
Can be used to set an alternative base URI, e.g.default TelegramEndpointBuilderFactory.TelegramEndpointProducerBuilder
basic()
default TelegramEndpointBuilderFactory.AdvancedTelegramEndpointProducerBuilder
bufferSize(int bufferSize)
The initial in-memory buffer size used when transferring data between Camel and AHC Client.default TelegramEndpointBuilderFactory.AdvancedTelegramEndpointProducerBuilder
bufferSize(String bufferSize)
The initial in-memory buffer size used when transferring data between Camel and AHC Client.default TelegramEndpointBuilderFactory.AdvancedTelegramEndpointProducerBuilder
clientConfig(Object clientConfig)
To configure the AsyncHttpClient to use a custom com.ning.http.client.AsyncHttpClientConfig instance.default TelegramEndpointBuilderFactory.AdvancedTelegramEndpointProducerBuilder
clientConfig(String clientConfig)
To configure the AsyncHttpClient to use a custom com.ning.http.client.AsyncHttpClientConfig instance.default TelegramEndpointBuilderFactory.AdvancedTelegramEndpointProducerBuilder
synchronous(boolean synchronous)
Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).default TelegramEndpointBuilderFactory.AdvancedTelegramEndpointProducerBuilder
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 TelegramEndpointBuilderFactory.TelegramEndpointProducerBuilder basic()
-
baseUri
default TelegramEndpointBuilderFactory.AdvancedTelegramEndpointProducerBuilder baseUri(String baseUri)
Can be used to set an alternative base URI, e.g. when you want to test the component against a mock Telegram API. The option is a:java.lang.String
type. Group: advanced
-
bufferSize
default TelegramEndpointBuilderFactory.AdvancedTelegramEndpointProducerBuilder bufferSize(int bufferSize)
The initial in-memory buffer size used when transferring data between Camel and AHC Client. The option is a:int
type. Default: 4096 Group: advanced
-
bufferSize
default TelegramEndpointBuilderFactory.AdvancedTelegramEndpointProducerBuilder bufferSize(String bufferSize)
The initial in-memory buffer size used when transferring data between Camel and AHC Client. The option will be converted to aint
type. Default: 4096 Group: advanced
-
clientConfig
default TelegramEndpointBuilderFactory.AdvancedTelegramEndpointProducerBuilder clientConfig(Object clientConfig)
To configure the AsyncHttpClient to use a custom com.ning.http.client.AsyncHttpClientConfig instance. The option is a:org.asynchttpclient.AsyncHttpClientConfig
type. Group: advanced
-
clientConfig
default TelegramEndpointBuilderFactory.AdvancedTelegramEndpointProducerBuilder clientConfig(String clientConfig)
To configure the AsyncHttpClient to use a custom com.ning.http.client.AsyncHttpClientConfig instance. The option will be converted to aorg.asynchttpclient.AsyncHttpClientConfig
type. Group: advanced
-
synchronous
default TelegramEndpointBuilderFactory.AdvancedTelegramEndpointProducerBuilder 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 TelegramEndpointBuilderFactory.AdvancedTelegramEndpointProducerBuilder 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
-
-