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
All Methods Instance Methods Default Methods Modifier and Type Method Description default TelegramEndpointBuilderFactory.AdvancedTelegramEndpointBuilder
advanced()
default TelegramEndpointBuilderFactory.TelegramEndpointBuilder
authorizationToken(String authorizationToken)
The authorization token for using the bot (ask the BotFather).default TelegramEndpointBuilderFactory.TelegramEndpointBuilder
proxyHost(String proxyHost)
HTTP proxy host which could be used when sending out the message.default TelegramEndpointBuilderFactory.TelegramEndpointBuilder
proxyPort(Integer proxyPort)
HTTP proxy port which could be used when sending out the message.default TelegramEndpointBuilderFactory.TelegramEndpointBuilder
proxyPort(String proxyPort)
HTTP proxy port which could be used when sending out the message.default TelegramEndpointBuilderFactory.TelegramEndpointBuilder
proxyType(String proxyType)
HTTP proxy type which could be used when sending out the message.default TelegramEndpointBuilderFactory.TelegramEndpointBuilder
proxyType(TelegramEndpointBuilderFactory.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, getUri
-
Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, expr, getUri
-
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.TelegramEndpointBuilderFactory.TelegramEndpointConsumerBuilder
backoffErrorThreshold, backoffErrorThreshold, backoffIdleThreshold, backoffIdleThreshold, backoffMultiplier, backoffMultiplier, bridgeErrorHandler, bridgeErrorHandler, 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, lazyStartProducer, lazyStartProducer
-
-
-
-
Method Detail
-
advanced
default TelegramEndpointBuilderFactory.AdvancedTelegramEndpointBuilder advanced()
- Specified by:
advanced
in interfaceTelegramEndpointBuilderFactory.TelegramEndpointConsumerBuilder
- Specified by:
advanced
in interfaceTelegramEndpointBuilderFactory.TelegramEndpointProducerBuilder
-
proxyHost
default TelegramEndpointBuilderFactory.TelegramEndpointBuilder proxyHost(String proxyHost)
HTTP proxy host which could be used when sending out the message. The option is a:java.lang.String
type. Group: proxy- Specified by:
proxyHost
in interfaceTelegramEndpointBuilderFactory.TelegramEndpointConsumerBuilder
- Specified by:
proxyHost
in interfaceTelegramEndpointBuilderFactory.TelegramEndpointProducerBuilder
-
proxyPort
default TelegramEndpointBuilderFactory.TelegramEndpointBuilder proxyPort(Integer proxyPort)
HTTP proxy port which could be used when sending out the message. The option is a:java.lang.Integer
type. Group: proxy- Specified by:
proxyPort
in interfaceTelegramEndpointBuilderFactory.TelegramEndpointConsumerBuilder
- Specified by:
proxyPort
in interfaceTelegramEndpointBuilderFactory.TelegramEndpointProducerBuilder
-
proxyPort
default TelegramEndpointBuilderFactory.TelegramEndpointBuilder proxyPort(String proxyPort)
HTTP proxy port which could be used when sending out the message. The option will be converted to ajava.lang.Integer
type. Group: proxy- Specified by:
proxyPort
in interfaceTelegramEndpointBuilderFactory.TelegramEndpointConsumerBuilder
- Specified by:
proxyPort
in interfaceTelegramEndpointBuilderFactory.TelegramEndpointProducerBuilder
-
proxyType
default TelegramEndpointBuilderFactory.TelegramEndpointBuilder proxyType(TelegramEndpointBuilderFactory.TelegramProxyType proxyType)
HTTP proxy type which could be used when sending out the message. The option is a:org.apache.camel.component.telegram.TelegramProxyType
type. Default: HTTP Group: proxy- Specified by:
proxyType
in interfaceTelegramEndpointBuilderFactory.TelegramEndpointConsumerBuilder
- Specified by:
proxyType
in interfaceTelegramEndpointBuilderFactory.TelegramEndpointProducerBuilder
-
proxyType
default TelegramEndpointBuilderFactory.TelegramEndpointBuilder proxyType(String proxyType)
HTTP proxy type which could be used when sending out the message. The option will be converted to aorg.apache.camel.component.telegram.TelegramProxyType
type. Default: HTTP Group: proxy- Specified by:
proxyType
in interfaceTelegramEndpointBuilderFactory.TelegramEndpointConsumerBuilder
- Specified by:
proxyType
in interfaceTelegramEndpointBuilderFactory.TelegramEndpointProducerBuilder
-
authorizationToken
default TelegramEndpointBuilderFactory.TelegramEndpointBuilder authorizationToken(String authorizationToken)
The authorization token for using the bot (ask the BotFather). The option is a:java.lang.String
type. Required: true Group: security- Specified by:
authorizationToken
in interfaceTelegramEndpointBuilderFactory.TelegramEndpointConsumerBuilder
- Specified by:
authorizationToken
in interfaceTelegramEndpointBuilderFactory.TelegramEndpointProducerBuilder
-
-