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.AdvancedTelegramEndpointBuilderadvanced()default TelegramEndpointBuilderFactory.TelegramEndpointBuilderauthorizationToken(String authorizationToken)The authorization token for using the bot (ask the BotFather).default TelegramEndpointBuilderFactory.TelegramEndpointBuilderproxyHost(String proxyHost)HTTP proxy host which could be used when sending out the message.default TelegramEndpointBuilderFactory.TelegramEndpointBuilderproxyPort(Integer proxyPort)HTTP proxy port which could be used when sending out the message.default TelegramEndpointBuilderFactory.TelegramEndpointBuilderproxyPort(String proxyPort)HTTP proxy port which could be used when sending out the message.default TelegramEndpointBuilderFactory.TelegramEndpointBuilderproxyType(String proxyType)HTTP proxy type which could be used when sending out the message.default TelegramEndpointBuilderFactory.TelegramEndpointBuilderproxyType(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, expr, getUri
-
Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, 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:
advancedin interfaceTelegramEndpointBuilderFactory.TelegramEndpointConsumerBuilder- Specified by:
advancedin 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: <code>java.lang.String</code> type. Group: proxy- Specified by:
proxyHostin interfaceTelegramEndpointBuilderFactory.TelegramEndpointConsumerBuilder- Specified by:
proxyHostin interfaceTelegramEndpointBuilderFactory.TelegramEndpointProducerBuilder- Parameters:
proxyHost- the value to set- Returns:
- the dsl builder
-
proxyPort
default TelegramEndpointBuilderFactory.TelegramEndpointBuilder proxyPort(Integer 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:
proxyPortin interfaceTelegramEndpointBuilderFactory.TelegramEndpointConsumerBuilder- Specified by:
proxyPortin interfaceTelegramEndpointBuilderFactory.TelegramEndpointProducerBuilder- Parameters:
proxyPort- the value to set- Returns:
- the dsl builder
-
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 a <code>java.lang.Integer</code> type. Group: proxy- Specified by:
proxyPortin interfaceTelegramEndpointBuilderFactory.TelegramEndpointConsumerBuilder- Specified by:
proxyPortin interfaceTelegramEndpointBuilderFactory.TelegramEndpointProducerBuilder- Parameters:
proxyPort- the value to set- Returns:
- the dsl builder
-
proxyType
default TelegramEndpointBuilderFactory.TelegramEndpointBuilder proxyType(TelegramEndpointBuilderFactory.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:
proxyTypein interfaceTelegramEndpointBuilderFactory.TelegramEndpointConsumerBuilder- Specified by:
proxyTypein interfaceTelegramEndpointBuilderFactory.TelegramEndpointProducerBuilder- Parameters:
proxyType- the value to set- Returns:
- the dsl builder
-
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 a <code>org.apache.camel.component.telegram.TelegramProxyType</code> type. Default: HTTP Group: proxy- Specified by:
proxyTypein interfaceTelegramEndpointBuilderFactory.TelegramEndpointConsumerBuilder- Specified by:
proxyTypein 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:
authorizationTokenin interfaceTelegramEndpointBuilderFactory.TelegramEndpointConsumerBuilder- Specified by:
authorizationTokenin interfaceTelegramEndpointBuilderFactory.TelegramEndpointProducerBuilder- Parameters:
authorizationToken- the value to set- Returns:
- the dsl builder
-
-