Interface TelegramEndpointBuilderFactory.TelegramEndpointBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
,org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
,TelegramEndpointBuilderFactory.TelegramEndpointConsumerBuilder
,TelegramEndpointBuilderFactory.TelegramEndpointProducerBuilder
- Enclosing interface:
- TelegramEndpointBuilderFactory
public static interface TelegramEndpointBuilderFactory.TelegramEndpointBuilder
extends TelegramEndpointBuilderFactory.TelegramEndpointConsumerBuilder, TelegramEndpointBuilderFactory.TelegramEndpointProducerBuilder
Builder for endpoint for the Telegram component.
-
Method Summary
Modifier and TypeMethodDescriptionadvanced()
authorizationToken
(String authorizationToken) The authorization token for using the bot (ask the BotFather).HTTP proxy host which could be used when sending out the message.HTTP proxy port which could be used when sending out the message.HTTP proxy port which could be used when sending out the message.HTTP proxy type which could be used when sending out the message.proxyType
(org.apache.camel.component.telegram.TelegramProxyType proxyType) HTTP proxy type which could be used when sending out the message.Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointConsumerResolver
resolve, resolve
Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolve
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.TelegramEndpointBuilderFactory.TelegramEndpointConsumerBuilder
backoffErrorThreshold, backoffErrorThreshold, backoffIdleThreshold, backoffIdleThreshold, backoffMultiplier, backoffMultiplier, delay, delay, greedy, greedy, initialDelay, initialDelay, limit, limit, repeatCount, repeatCount, runLoggingLevel, runLoggingLevel, scheduledExecutorService, scheduledExecutorService, scheduler, scheduler, schedulerProperties, schedulerProperties, sendEmptyMessageWhenIdle, sendEmptyMessageWhenIdle, startScheduler, startScheduler, timeout, timeout, timeUnit, timeUnit, useFixedDelay, useFixedDelay
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.TelegramEndpointBuilderFactory.TelegramEndpointProducerBuilder
chatId
-
Method Details
-
advanced
- Specified by:
advanced
in interfaceTelegramEndpointBuilderFactory.TelegramEndpointConsumerBuilder
- Specified by:
advanced
in interfaceTelegramEndpointBuilderFactory.TelegramEndpointProducerBuilder
-
proxyHost
HTTP proxy host which could be used when sending out the message. The option is a: <code>java.lang.String</code> type. Group: proxy- Specified by:
proxyHost
in interfaceTelegramEndpointBuilderFactory.TelegramEndpointConsumerBuilder
- Specified by:
proxyHost
in interfaceTelegramEndpointBuilderFactory.TelegramEndpointProducerBuilder
- Parameters:
proxyHost
- the value to set- Returns:
- the dsl builder
-
proxyPort
HTTP proxy port which could be used when sending out the message. The option is a: <code>java.lang.Integer</code> type. Group: proxy- Specified by:
proxyPort
in interfaceTelegramEndpointBuilderFactory.TelegramEndpointConsumerBuilder
- Specified by:
proxyPort
in interfaceTelegramEndpointBuilderFactory.TelegramEndpointProducerBuilder
- Parameters:
proxyPort
- the value to set- Returns:
- the dsl builder
-
proxyPort
HTTP proxy port which could be used when sending out the message. The option will be converted to a <code>java.lang.Integer</code> type. Group: proxy- Specified by:
proxyPort
in interfaceTelegramEndpointBuilderFactory.TelegramEndpointConsumerBuilder
- Specified by:
proxyPort
in interfaceTelegramEndpointBuilderFactory.TelegramEndpointProducerBuilder
- Parameters:
proxyPort
- the value to set- Returns:
- the dsl builder
-
proxyType
default TelegramEndpointBuilderFactory.TelegramEndpointBuilder proxyType(org.apache.camel.component.telegram.TelegramProxyType proxyType) HTTP proxy type which could be used when sending out the message. The option is a: <code>org.apache.camel.component.telegram.TelegramProxyType</code> type. Default: HTTP Group: proxy- Specified by:
proxyType
in interfaceTelegramEndpointBuilderFactory.TelegramEndpointConsumerBuilder
- Specified by:
proxyType
in interfaceTelegramEndpointBuilderFactory.TelegramEndpointProducerBuilder
- Parameters:
proxyType
- the value to set- Returns:
- the dsl builder
-
proxyType
HTTP proxy type which could be used when sending out the message. The option will be converted to a <code>org.apache.camel.component.telegram.TelegramProxyType</code> type. Default: HTTP Group: proxy- Specified by:
proxyType
in interfaceTelegramEndpointBuilderFactory.TelegramEndpointConsumerBuilder
- Specified by:
proxyType
in interfaceTelegramEndpointBuilderFactory.TelegramEndpointProducerBuilder
- Parameters:
proxyType
- the value to set- Returns:
- the dsl builder
-
authorizationToken
default TelegramEndpointBuilderFactory.TelegramEndpointBuilder authorizationToken(String authorizationToken) The authorization token for using the bot (ask the BotFather). The option is a: <code>java.lang.String</code> type. Required: true Group: security- Specified by:
authorizationToken
in interfaceTelegramEndpointBuilderFactory.TelegramEndpointConsumerBuilder
- Specified by:
authorizationToken
in interfaceTelegramEndpointBuilderFactory.TelegramEndpointProducerBuilder
- Parameters:
authorizationToken
- the value to set- Returns:
- the dsl builder
-