| Package | Description |
|---|---|
| org.apache.camel.builder.endpoint.dsl |
| Modifier and Type | Interface and Description |
|---|---|
static interface |
SoroushBotEndpointBuilderFactory.SoroushBotEndpointBuilder
Builder for endpoint for the Soroush component.
|
| Modifier and Type | Method and Description |
|---|---|
default SoroushBotEndpointBuilderFactory.SoroushBotEndpointProducerBuilder |
SoroushBotEndpointBuilderFactory.SoroushBotEndpointProducerBuilder.authorizationToken(String authorizationToken)
The authorization token for using the bot.
|
default SoroushBotEndpointBuilderFactory.SoroushBotEndpointProducerBuilder |
SoroushBotEndpointBuilderFactory.SoroushBotEndpointProducerBuilder.autoDownload(boolean autoDownload)
Automatically download SoroushMessage.fileUrl and
SoroushMessage.thumbnailUrl if exists for the message and store them
in SoroushMessage.file and SoroushMessage.thumbnail field.
|
default SoroushBotEndpointBuilderFactory.SoroushBotEndpointProducerBuilder |
SoroushBotEndpointBuilderFactory.SoroushBotEndpointProducerBuilder.autoDownload(String autoDownload)
Automatically download SoroushMessage.fileUrl and
SoroushMessage.thumbnailUrl if exists for the message and store them
in SoroushMessage.file and SoroushMessage.thumbnail field.
|
default SoroushBotEndpointBuilderFactory.SoroushBotEndpointProducerBuilder |
SoroushBotEndpointBuilderFactory.SoroushBotEndpointProducerBuilder.autoUploadFile(boolean autoUploadFile)
Automatically upload attachments when a message goes to the
sendMessage endpoint and the SoroushMessage.file
(SoroushMessage.thumbnail) has been set and
SoroushMessage.fileUrl(SoroushMessage.thumbnailUrl) is null.
|
default SoroushBotEndpointBuilderFactory.SoroushBotEndpointProducerBuilder |
SoroushBotEndpointBuilderFactory.SoroushBotEndpointProducerBuilder.autoUploadFile(String autoUploadFile)
Automatically upload attachments when a message goes to the
sendMessage endpoint and the SoroushMessage.file
(SoroushMessage.thumbnail) has been set and
SoroushMessage.fileUrl(SoroushMessage.thumbnailUrl) is null.
|
default SoroushBotEndpointBuilderFactory.SoroushBotEndpointProducerBuilder |
SoroushBotEndpointBuilderFactory.SoroushBotEndpointProducerBuilder.backOffStrategy(String backOffStrategy)
The strategy to backoff in case of connection failure.
|
default SoroushBotEndpointBuilderFactory.SoroushBotEndpointProducerBuilder |
SoroushBotEndpointBuilderFactory.AdvancedSoroushBotEndpointProducerBuilder.basic() |
default SoroushBotEndpointBuilderFactory.SoroushBotEndpointProducerBuilder |
SoroushBotEndpointBuilderFactory.SoroushBotEndpointProducerBuilder.connectionTimeout(int connectionTimeout)
Connection timeout in ms when connecting to soroush API.
|
default SoroushBotEndpointBuilderFactory.SoroushBotEndpointProducerBuilder |
SoroushBotEndpointBuilderFactory.SoroushBotEndpointProducerBuilder.connectionTimeout(String connectionTimeout)
Connection timeout in ms when connecting to soroush API.
|
default SoroushBotEndpointBuilderFactory.SoroushBotEndpointProducerBuilder |
SoroushBotEndpointBuilderFactory.SoroushBotEndpointProducerBuilder.downloadThumbnail(boolean downloadThumbnail)
If true, when downloading an attached file, thumbnail will be
downloaded if provided in the message.
|
default SoroushBotEndpointBuilderFactory.SoroushBotEndpointProducerBuilder |
SoroushBotEndpointBuilderFactory.SoroushBotEndpointProducerBuilder.downloadThumbnail(String downloadThumbnail)
If true, when downloading an attached file, thumbnail will be
downloaded if provided in the message.
|
default SoroushBotEndpointBuilderFactory.SoroushBotEndpointProducerBuilder |
SoroushBotEndpointBuilderFactory.SoroushBotEndpointProducerBuilder.forceDownload(boolean forceDownload)
Force to download SoroushMessage.fileUrl(SoroushMessage.thumbnailUrl)
if exists, even if the SoroushMessage.file(SoroushMessage.thumbnail)
was not null in that message.
|
default SoroushBotEndpointBuilderFactory.SoroushBotEndpointProducerBuilder |
SoroushBotEndpointBuilderFactory.SoroushBotEndpointProducerBuilder.forceDownload(String forceDownload)
Force to download SoroushMessage.fileUrl(SoroushMessage.thumbnailUrl)
if exists, even if the SoroushMessage.file(SoroushMessage.thumbnail)
was not null in that message.
|
default SoroushBotEndpointBuilderFactory.SoroushBotEndpointProducerBuilder |
SoroushBotEndpointBuilderFactory.SoroushBotEndpointProducerBuilder.forceUpload(boolean forceUpload)
Force to upload SoroushMessage.file(SoroushMessage.thumbnail) if
exists, even if the
SoroushMessage.fileUrl(SoroushMessage.thumbnailUrl) is not null in
the message.
|
default SoroushBotEndpointBuilderFactory.SoroushBotEndpointProducerBuilder |
SoroushBotEndpointBuilderFactory.SoroushBotEndpointProducerBuilder.forceUpload(String forceUpload)
Force to upload SoroushMessage.file(SoroushMessage.thumbnail) if
exists, even if the
SoroushMessage.fileUrl(SoroushMessage.thumbnailUrl) is not null in
the message.
|
default SoroushBotEndpointBuilderFactory.SoroushBotEndpointProducerBuilder |
SoroushBotEndpointBuilderFactory.SoroushBotEndpointProducerBuilder.lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default SoroushBotEndpointBuilderFactory.SoroushBotEndpointProducerBuilder |
SoroushBotEndpointBuilderFactory.SoroushBotEndpointProducerBuilder.lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default SoroushBotEndpointBuilderFactory.SoroushBotEndpointProducerBuilder |
SoroushBotEndpointBuilderFactory.SoroushBotEndpointProducerBuilder.maxConnectionRetry(int maxConnectionRetry)
Maximum connection retry when fail to connect to soroush API, if the
quota is reached, MaximumConnectionRetryReachedException is thrown
for that message.
|
default SoroushBotEndpointBuilderFactory.SoroushBotEndpointProducerBuilder |
SoroushBotEndpointBuilderFactory.SoroushBotEndpointProducerBuilder.maxConnectionRetry(String maxConnectionRetry)
Maximum connection retry when fail to connect to soroush API, if the
quota is reached, MaximumConnectionRetryReachedException is thrown
for that message.
|
default SoroushBotEndpointBuilderFactory.SoroushBotEndpointProducerBuilder |
SoroushBotEndpointBuilderFactory.SoroushBotEndpointProducerBuilder.maxRetryWaitingTime(long maxRetryWaitingTime)
Maximum amount of time (in millisecond) a thread wait before retrying
failed request.
|
default SoroushBotEndpointBuilderFactory.SoroushBotEndpointProducerBuilder |
SoroushBotEndpointBuilderFactory.SoroushBotEndpointProducerBuilder.maxRetryWaitingTime(String maxRetryWaitingTime)
Maximum amount of time (in millisecond) a thread wait before retrying
failed request.
|
default SoroushBotEndpointBuilderFactory.SoroushBotEndpointProducerBuilder |
SoroushBotEndpointBuilderFactory.SoroushBotEndpointProducerBuilder.reconnectIdleConnectionTimeout(long reconnectIdleConnectionTimeout)
The timeout in millisecond to reconnect the existing getMessage
connection to ensure that the connection is always live and does not
dead without notifying the bot.
|
default SoroushBotEndpointBuilderFactory.SoroushBotEndpointProducerBuilder |
SoroushBotEndpointBuilderFactory.SoroushBotEndpointProducerBuilder.reconnectIdleConnectionTimeout(String reconnectIdleConnectionTimeout)
The timeout in millisecond to reconnect the existing getMessage
connection to ensure that the connection is always live and does not
dead without notifying the bot.
|
default SoroushBotEndpointBuilderFactory.SoroushBotEndpointProducerBuilder |
SoroushBotEndpointBuilderFactory.SoroushBotEndpointProducerBuilder.retryExponentialCoefficient(long retryExponentialCoefficient)
Coefficient to compute back off time when using Exponential Back Off
strategy.
|
default SoroushBotEndpointBuilderFactory.SoroushBotEndpointProducerBuilder |
SoroushBotEndpointBuilderFactory.SoroushBotEndpointProducerBuilder.retryExponentialCoefficient(String retryExponentialCoefficient)
Coefficient to compute back off time when using Exponential Back Off
strategy.
|
default SoroushBotEndpointBuilderFactory.SoroushBotEndpointProducerBuilder |
SoroushBotEndpointBuilderFactory.SoroushBotEndpointProducerBuilder.retryLinearIncrement(long retryLinearIncrement)
The amount of time (in millisecond) which adds to waiting time when
using Linear back off strategy.
|
default SoroushBotEndpointBuilderFactory.SoroushBotEndpointProducerBuilder |
SoroushBotEndpointBuilderFactory.SoroushBotEndpointProducerBuilder.retryLinearIncrement(String retryLinearIncrement)
The amount of time (in millisecond) which adds to waiting time when
using Linear back off strategy.
|
default SoroushBotEndpointBuilderFactory.SoroushBotEndpointProducerBuilder |
SoroushBotEndpointBuilderFactory.SoroushBotEndpointProducerBuilder.retryWaitingTime(long retryWaitingTime)
Waiting time before retry failed request (Millisecond).
|
default SoroushBotEndpointBuilderFactory.SoroushBotEndpointProducerBuilder |
SoroushBotEndpointBuilderFactory.SoroushBotEndpointProducerBuilder.retryWaitingTime(String retryWaitingTime)
Waiting time before retry failed request (Millisecond).
|
Apache Camel