| Package | Description |
|---|---|
| org.apache.camel.builder.endpoint | |
| org.apache.camel.builder.endpoint.dsl |
| Modifier and Type | Method and Description |
|---|---|
static SoroushBotEndpointBuilderFactory.SoroushBotEndpointBuilder |
StaticEndpointBuilders.soroush(String path)
Soroush (camel-soroush)
Send and receive messages as a Soroush chat bot.
|
static SoroushBotEndpointBuilderFactory.SoroushBotEndpointBuilder |
StaticEndpointBuilders.soroush(String componentName,
String path)
Soroush (camel-soroush)
Send and receive messages as a Soroush chat bot.
|
| Modifier and Type | Method and Description |
|---|---|
default SoroushBotEndpointBuilderFactory.SoroushBotEndpointBuilder |
SoroushBotEndpointBuilderFactory.SoroushBotEndpointBuilder.authorizationToken(String authorizationToken)
The authorization token for using the bot.
|
default SoroushBotEndpointBuilderFactory.SoroushBotEndpointBuilder |
SoroushBotEndpointBuilderFactory.SoroushBotEndpointBuilder.backOffStrategy(String backOffStrategy)
The strategy to backoff in case of connection failure.
|
default SoroushBotEndpointBuilderFactory.SoroushBotEndpointBuilder |
SoroushBotEndpointBuilderFactory.AdvancedSoroushBotEndpointBuilder.basic() |
default SoroushBotEndpointBuilderFactory.SoroushBotEndpointBuilder |
SoroushBotEndpointBuilderFactory.SoroushBotEndpointBuilder.connectionTimeout(int connectionTimeout)
Connection timeout in ms when connecting to soroush API.
|
default SoroushBotEndpointBuilderFactory.SoroushBotEndpointBuilder |
SoroushBotEndpointBuilderFactory.SoroushBotEndpointBuilder.connectionTimeout(String connectionTimeout)
Connection timeout in ms when connecting to soroush API.
|
static SoroushBotEndpointBuilderFactory.SoroushBotEndpointBuilder |
SoroushBotEndpointBuilderFactory.endpointBuilder(String componentName,
String path) |
default SoroushBotEndpointBuilderFactory.SoroushBotEndpointBuilder |
SoroushBotEndpointBuilderFactory.SoroushBotEndpointBuilder.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.SoroushBotEndpointBuilder |
SoroushBotEndpointBuilderFactory.SoroushBotEndpointBuilder.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.SoroushBotEndpointBuilder |
SoroushBotEndpointBuilderFactory.SoroushBotEndpointBuilder.maxRetryWaitingTime(long maxRetryWaitingTime)
Maximum amount of time (in millisecond) a thread wait before retrying
failed request.
|
default SoroushBotEndpointBuilderFactory.SoroushBotEndpointBuilder |
SoroushBotEndpointBuilderFactory.SoroushBotEndpointBuilder.maxRetryWaitingTime(String maxRetryWaitingTime)
Maximum amount of time (in millisecond) a thread wait before retrying
failed request.
|
default SoroushBotEndpointBuilderFactory.SoroushBotEndpointBuilder |
SoroushBotEndpointBuilderFactory.SoroushBotEndpointBuilder.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.SoroushBotEndpointBuilder |
SoroushBotEndpointBuilderFactory.SoroushBotEndpointBuilder.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.SoroushBotEndpointBuilder |
SoroushBotEndpointBuilderFactory.SoroushBotEndpointBuilder.retryExponentialCoefficient(long retryExponentialCoefficient)
Coefficient to compute back off time when using Exponential Back Off
strategy.
|
default SoroushBotEndpointBuilderFactory.SoroushBotEndpointBuilder |
SoroushBotEndpointBuilderFactory.SoroushBotEndpointBuilder.retryExponentialCoefficient(String retryExponentialCoefficient)
Coefficient to compute back off time when using Exponential Back Off
strategy.
|
default SoroushBotEndpointBuilderFactory.SoroushBotEndpointBuilder |
SoroushBotEndpointBuilderFactory.SoroushBotEndpointBuilder.retryLinearIncrement(long retryLinearIncrement)
The amount of time (in millisecond) which adds to waiting time when
using Linear back off strategy.
|
default SoroushBotEndpointBuilderFactory.SoroushBotEndpointBuilder |
SoroushBotEndpointBuilderFactory.SoroushBotEndpointBuilder.retryLinearIncrement(String retryLinearIncrement)
The amount of time (in millisecond) which adds to waiting time when
using Linear back off strategy.
|
default SoroushBotEndpointBuilderFactory.SoroushBotEndpointBuilder |
SoroushBotEndpointBuilderFactory.SoroushBotEndpointBuilder.retryWaitingTime(long retryWaitingTime)
Waiting time before retry failed request (Millisecond).
|
default SoroushBotEndpointBuilderFactory.SoroushBotEndpointBuilder |
SoroushBotEndpointBuilderFactory.SoroushBotEndpointBuilder.retryWaitingTime(String retryWaitingTime)
Waiting time before retry failed request (Millisecond).
|
default SoroushBotEndpointBuilderFactory.SoroushBotEndpointBuilder |
SoroushBotEndpointBuilderFactory.SoroushBotBuilders.soroush(String path)
Soroush (camel-soroush)
Send and receive messages as a Soroush chat bot.
|
default SoroushBotEndpointBuilderFactory.SoroushBotEndpointBuilder |
SoroushBotEndpointBuilderFactory.SoroushBotBuilders.soroush(String componentName,
String path)
Soroush (camel-soroush)
Send and receive messages as a Soroush chat bot.
|
Apache Camel