public static interface TelegramComponentBuilderFactory.TelegramComponentBuilder extends ComponentBuilder<org.apache.camel.component.telegram.TelegramComponent>
| Modifier and Type | Method and Description |
|---|---|
default TelegramComponentBuilderFactory.TelegramComponentBuilder |
authorizationToken(String authorizationToken)
The default Telegram authorization token to be used when the
information is not provided in the endpoints.
|
default TelegramComponentBuilderFactory.TelegramComponentBuilder |
baseUri(String baseUri)
Can be used to set an alternative base URI, e.g.
|
default TelegramComponentBuilderFactory.TelegramComponentBuilder |
basicPropertyBinding(boolean basicPropertyBinding)
Whether the component should use basic property binding (Camel 2.x)
or the newer property binding with additional capabilities.
|
default TelegramComponentBuilderFactory.TelegramComponentBuilder |
bridgeErrorHandler(boolean bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler,
which mean any exceptions occurred while the consumer is trying to
pickup incoming messages, or the likes, will now be processed as a
message and handled by the routing Error Handler.
|
default TelegramComponentBuilderFactory.TelegramComponentBuilder |
client(org.asynchttpclient.AsyncHttpClient client)
To use a custom AsyncHttpClient.
|
default TelegramComponentBuilderFactory.TelegramComponentBuilder |
clientConfig(org.asynchttpclient.AsyncHttpClientConfig clientConfig)
To configure the AsyncHttpClient to use a custom
com.ning.http.client.AsyncHttpClientConfig instance.
|
default TelegramComponentBuilderFactory.TelegramComponentBuilder |
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
build, build, doSetProperty, registerdefault TelegramComponentBuilderFactory.TelegramComponentBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
boolean type.
Default: false
Group: consumerdefault TelegramComponentBuilderFactory.TelegramComponentBuilder lazyStartProducer(boolean lazyStartProducer)
boolean type.
Default: false
Group: producerdefault TelegramComponentBuilderFactory.TelegramComponentBuilder baseUri(String baseUri)
java.lang.String type.
Default: https://api.telegram.org
Group: advanceddefault TelegramComponentBuilderFactory.TelegramComponentBuilder basicPropertyBinding(boolean basicPropertyBinding)
boolean type.
Default: false
Group: advanceddefault TelegramComponentBuilderFactory.TelegramComponentBuilder client(org.asynchttpclient.AsyncHttpClient client)
org.asynchttpclient.AsyncHttpClient
type.
Group: advanceddefault TelegramComponentBuilderFactory.TelegramComponentBuilder clientConfig(org.asynchttpclient.AsyncHttpClientConfig clientConfig)
org.asynchttpclient.AsyncHttpClientConfig type.
Group: advanceddefault TelegramComponentBuilderFactory.TelegramComponentBuilder authorizationToken(String authorizationToken)
java.lang.String type.
Group: securityApache Camel