public static interface SshEndpointBuilderFactory.SshEndpointConsumerBuilder
extends org.apache.camel.builder.EndpointConsumerBuilder
| Modifier and Type | Method and Description |
|---|---|
default SshEndpointBuilderFactory.AdvancedSshEndpointConsumerBuilder |
advanced() |
default SshEndpointBuilderFactory.SshEndpointConsumerBuilder |
backoffErrorThreshold(int backoffErrorThreshold)
The number of subsequent error polls (failed due some error) that
should happen before the backoffMultipler should kick-in.
|
default SshEndpointBuilderFactory.SshEndpointConsumerBuilder |
backoffErrorThreshold(String backoffErrorThreshold)
The number of subsequent error polls (failed due some error) that
should happen before the backoffMultipler should kick-in.
|
default SshEndpointBuilderFactory.SshEndpointConsumerBuilder |
backoffIdleThreshold(int backoffIdleThreshold)
The number of subsequent idle polls that should happen before the
backoffMultipler should kick-in.
|
default SshEndpointBuilderFactory.SshEndpointConsumerBuilder |
backoffIdleThreshold(String backoffIdleThreshold)
The number of subsequent idle polls that should happen before the
backoffMultipler should kick-in.
|
default SshEndpointBuilderFactory.SshEndpointConsumerBuilder |
backoffMultiplier(int backoffMultiplier)
To let the scheduled polling consumer backoff if there has been a
number of subsequent idles/errors in a row.
|
default SshEndpointBuilderFactory.SshEndpointConsumerBuilder |
backoffMultiplier(String backoffMultiplier)
To let the scheduled polling consumer backoff if there has been a
number of subsequent idles/errors in a row.
|
default SshEndpointBuilderFactory.SshEndpointConsumerBuilder |
bridgeErrorHandler(boolean bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler,
which mean any exceptions occurred while the consumer is trying to
pickup incoming messages, or the likes, will now be processed as a
message and handled by the routing Error Handler.
|
default SshEndpointBuilderFactory.SshEndpointConsumerBuilder |
bridgeErrorHandler(String bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler,
which mean any exceptions occurred while the consumer is trying to
pickup incoming messages, or the likes, will now be processed as a
message and handled by the routing Error Handler.
|
default SshEndpointBuilderFactory.SshEndpointConsumerBuilder |
certResource(String certResource)
Sets the resource path of the certificate to use for Authentication.
|
default SshEndpointBuilderFactory.SshEndpointConsumerBuilder |
certResourcePassword(String certResourcePassword)
Sets the password to use in loading certResource, if certResource is
an encrypted key.
|
default SshEndpointBuilderFactory.SshEndpointConsumerBuilder |
delay(long delay)
Milliseconds before the next poll.
|
default SshEndpointBuilderFactory.SshEndpointConsumerBuilder |
delay(String delay)
Milliseconds before the next poll.
|
default SshEndpointBuilderFactory.SshEndpointConsumerBuilder |
failOnUnknownHost(boolean failOnUnknownHost)
Specifies whether a connection to an unknown host should fail or not.
|
default SshEndpointBuilderFactory.SshEndpointConsumerBuilder |
failOnUnknownHost(String failOnUnknownHost)
Specifies whether a connection to an unknown host should fail or not.
|
default SshEndpointBuilderFactory.SshEndpointConsumerBuilder |
greedy(boolean greedy)
If greedy is enabled, then the ScheduledPollConsumer will run
immediately again, if the previous run polled 1 or more messages.
|
default SshEndpointBuilderFactory.SshEndpointConsumerBuilder |
greedy(String greedy)
If greedy is enabled, then the ScheduledPollConsumer will run
immediately again, if the previous run polled 1 or more messages.
|
default SshEndpointBuilderFactory.SshEndpointConsumerBuilder |
initialDelay(long initialDelay)
Milliseconds before the first poll starts.
|
default SshEndpointBuilderFactory.SshEndpointConsumerBuilder |
initialDelay(String initialDelay)
Milliseconds before the first poll starts.
|
default SshEndpointBuilderFactory.SshEndpointConsumerBuilder |
keyPairProvider(Object keyPairProvider)
Sets the KeyPairProvider reference to use when connecting using
Certificates to the remote SSH Server.
|
default SshEndpointBuilderFactory.SshEndpointConsumerBuilder |
keyPairProvider(String keyPairProvider)
Sets the KeyPairProvider reference to use when connecting using
Certificates to the remote SSH Server.
|
default SshEndpointBuilderFactory.SshEndpointConsumerBuilder |
keyType(String keyType)
Sets the key type to pass to the KeyPairProvider as part of
authentication.
|
default SshEndpointBuilderFactory.SshEndpointConsumerBuilder |
knownHostsResource(String knownHostsResource)
Sets the resource path for a known_hosts file.
|
default SshEndpointBuilderFactory.SshEndpointConsumerBuilder |
password(String password)
Sets the password to use in connecting to remote SSH server.
|
default SshEndpointBuilderFactory.SshEndpointConsumerBuilder |
pollCommand(String pollCommand)
Sets the command string to send to the remote SSH server during every
poll cycle.
|
default SshEndpointBuilderFactory.SshEndpointConsumerBuilder |
repeatCount(long repeatCount)
Specifies a maximum limit of number of fires.
|
default SshEndpointBuilderFactory.SshEndpointConsumerBuilder |
repeatCount(String repeatCount)
Specifies a maximum limit of number of fires.
|
default SshEndpointBuilderFactory.SshEndpointConsumerBuilder |
runLoggingLevel(org.apache.camel.LoggingLevel runLoggingLevel)
The consumer logs a start/complete log line when it polls.
|
default SshEndpointBuilderFactory.SshEndpointConsumerBuilder |
runLoggingLevel(String runLoggingLevel)
The consumer logs a start/complete log line when it polls.
|
default SshEndpointBuilderFactory.SshEndpointConsumerBuilder |
scheduledExecutorService(ScheduledExecutorService scheduledExecutorService)
Allows for configuring a custom/shared thread pool to use for the
consumer.
|
default SshEndpointBuilderFactory.SshEndpointConsumerBuilder |
scheduledExecutorService(String scheduledExecutorService)
Allows for configuring a custom/shared thread pool to use for the
consumer.
|
default SshEndpointBuilderFactory.SshEndpointConsumerBuilder |
scheduler(Object scheduler)
To use a cron scheduler from either camel-spring or camel-quartz
component.
|
default SshEndpointBuilderFactory.SshEndpointConsumerBuilder |
scheduler(String scheduler)
To use a cron scheduler from either camel-spring or camel-quartz
component.
|
default SshEndpointBuilderFactory.SshEndpointConsumerBuilder |
schedulerProperties(Map values)
To configure additional properties when using a custom scheduler or
any of the Quartz, Spring based scheduler.
|
default SshEndpointBuilderFactory.SshEndpointConsumerBuilder |
schedulerProperties(String key,
Object value)
To configure additional properties when using a custom scheduler or
any of the Quartz, Spring based scheduler.
|
default SshEndpointBuilderFactory.SshEndpointConsumerBuilder |
sendEmptyMessageWhenIdle(boolean sendEmptyMessageWhenIdle)
If the polling consumer did not poll any files, you can enable this
option to send an empty message (no body) instead.
|
default SshEndpointBuilderFactory.SshEndpointConsumerBuilder |
sendEmptyMessageWhenIdle(String sendEmptyMessageWhenIdle)
If the polling consumer did not poll any files, you can enable this
option to send an empty message (no body) instead.
|
default SshEndpointBuilderFactory.SshEndpointConsumerBuilder |
startScheduler(boolean startScheduler)
Whether the scheduler should be auto started.
|
default SshEndpointBuilderFactory.SshEndpointConsumerBuilder |
startScheduler(String startScheduler)
Whether the scheduler should be auto started.
|
default SshEndpointBuilderFactory.SshEndpointConsumerBuilder |
timeout(long timeout)
Sets the timeout in milliseconds to wait in establishing the remote
SSH server connection.
|
default SshEndpointBuilderFactory.SshEndpointConsumerBuilder |
timeout(String timeout)
Sets the timeout in milliseconds to wait in establishing the remote
SSH server connection.
|
default SshEndpointBuilderFactory.SshEndpointConsumerBuilder |
timeUnit(String timeUnit)
Time unit for initialDelay and delay options.
|
default SshEndpointBuilderFactory.SshEndpointConsumerBuilder |
timeUnit(TimeUnit timeUnit)
Time unit for initialDelay and delay options.
|
default SshEndpointBuilderFactory.SshEndpointConsumerBuilder |
useFixedDelay(boolean useFixedDelay)
Controls if fixed delay or fixed rate is used.
|
default SshEndpointBuilderFactory.SshEndpointConsumerBuilder |
useFixedDelay(String useFixedDelay)
Controls if fixed delay or fixed rate is used.
|
default SshEndpointBuilderFactory.SshEndpointConsumerBuilder |
username(String username)
Sets the username to use in logging into the remote SSH server.
|
default SshEndpointBuilderFactory.AdvancedSshEndpointConsumerBuilder advanced()
default SshEndpointBuilderFactory.SshEndpointConsumerBuilder failOnUnknownHost(boolean failOnUnknownHost)
failOnUnknownHost - the value to setdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder failOnUnknownHost(String failOnUnknownHost)
failOnUnknownHost - the value to setdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder knownHostsResource(String knownHostsResource)
knownHostsResource - the value to setdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder timeout(long timeout)
timeout - the value to setdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder timeout(String timeout)
timeout - the value to setdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
bridgeErrorHandler - the value to setdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder bridgeErrorHandler(String bridgeErrorHandler)
bridgeErrorHandler - the value to setdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder pollCommand(String pollCommand)
pollCommand - the value to setdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder sendEmptyMessageWhenIdle(boolean sendEmptyMessageWhenIdle)
sendEmptyMessageWhenIdle - the value to setdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder sendEmptyMessageWhenIdle(String sendEmptyMessageWhenIdle)
sendEmptyMessageWhenIdle - the value to setdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder backoffErrorThreshold(int backoffErrorThreshold)
backoffErrorThreshold - the value to setdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder backoffErrorThreshold(String backoffErrorThreshold)
backoffErrorThreshold - the value to setdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder backoffIdleThreshold(int backoffIdleThreshold)
backoffIdleThreshold - the value to setdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder backoffIdleThreshold(String backoffIdleThreshold)
backoffIdleThreshold - the value to setdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder backoffMultiplier(int backoffMultiplier)
backoffMultiplier - the value to setdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder backoffMultiplier(String backoffMultiplier)
backoffMultiplier - the value to setdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder delay(long delay)
delay - the value to setdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder delay(String delay)
delay - the value to setdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder greedy(boolean greedy)
greedy - the value to setdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder greedy(String greedy)
greedy - the value to setdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder initialDelay(long initialDelay)
initialDelay - the value to setdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder initialDelay(String initialDelay)
initialDelay - the value to setdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder repeatCount(long repeatCount)
repeatCount - the value to setdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder repeatCount(String repeatCount)
repeatCount - the value to setdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder runLoggingLevel(org.apache.camel.LoggingLevel runLoggingLevel)
runLoggingLevel - the value to setdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder runLoggingLevel(String runLoggingLevel)
runLoggingLevel - the value to setdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder scheduledExecutorService(ScheduledExecutorService scheduledExecutorService)
scheduledExecutorService - the value to setdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder scheduledExecutorService(String scheduledExecutorService)
scheduledExecutorService - the value to setdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder scheduler(Object scheduler)
scheduler - the value to setdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder scheduler(String scheduler)
scheduler - the value to setdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder schedulerProperties(String key, Object value)
key - the option keyvalue - the option valuedefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder schedulerProperties(Map values)
values - the valuesdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder startScheduler(boolean startScheduler)
startScheduler - the value to setdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder startScheduler(String startScheduler)
startScheduler - the value to setdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder timeUnit(TimeUnit timeUnit)
timeUnit - the value to setdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder timeUnit(String timeUnit)
timeUnit - the value to setdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder useFixedDelay(boolean useFixedDelay)
useFixedDelay - the value to setdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder useFixedDelay(String useFixedDelay)
useFixedDelay - the value to setdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder certResource(String certResource)
certResource - the value to setdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder certResourcePassword(String certResourcePassword)
certResourcePassword - the value to setdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder keyPairProvider(Object keyPairProvider)
keyPairProvider - the value to setdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder keyPairProvider(String keyPairProvider)
keyPairProvider - the value to setdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder keyType(String keyType)
keyType - the value to setdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder password(String password)
password - the value to setdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder username(String username)
username - the value to setApache Camel