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)
boolean type.
Default: false
Group: commondefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder failOnUnknownHost(String failOnUnknownHost)
boolean type.
Default: false
Group: commondefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder knownHostsResource(String knownHostsResource)
java.lang.String type.
Group: commondefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder timeout(long timeout)
long type.
Default: 30000
Group: commondefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder timeout(String timeout)
long type.
Default: 30000
Group: commondefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
boolean type.
Default: false
Group: consumerdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder bridgeErrorHandler(String bridgeErrorHandler)
boolean type.
Default: false
Group: consumerdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder pollCommand(String pollCommand)
java.lang.String type.
Group: consumerdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder sendEmptyMessageWhenIdle(boolean sendEmptyMessageWhenIdle)
boolean type.
Default: false
Group: consumerdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder sendEmptyMessageWhenIdle(String sendEmptyMessageWhenIdle)
boolean type.
Default: false
Group: consumerdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder backoffErrorThreshold(int backoffErrorThreshold)
int type.
Group: schedulerdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder backoffErrorThreshold(String backoffErrorThreshold)
int type.
Group: schedulerdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder backoffIdleThreshold(int backoffIdleThreshold)
int type.
Group: schedulerdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder backoffIdleThreshold(String backoffIdleThreshold)
int type.
Group: schedulerdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder backoffMultiplier(int backoffMultiplier)
int type.
Group: schedulerdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder backoffMultiplier(String backoffMultiplier)
int type.
Group: schedulerdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder delay(long delay)
long type.
Default: 500
Group: schedulerdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder delay(String delay)
long type.
Default: 500
Group: schedulerdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder greedy(boolean greedy)
boolean type.
Default: false
Group: schedulerdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder greedy(String greedy)
boolean type.
Default: false
Group: schedulerdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder initialDelay(long initialDelay)
long type.
Default: 1000
Group: schedulerdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder initialDelay(String initialDelay)
long type.
Default: 1000
Group: schedulerdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder repeatCount(long repeatCount)
long type.
Default: 0
Group: schedulerdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder repeatCount(String repeatCount)
long type.
Default: 0
Group: schedulerdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder runLoggingLevel(org.apache.camel.LoggingLevel runLoggingLevel)
org.apache.camel.LoggingLevel type.
Default: TRACE
Group: schedulerdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder runLoggingLevel(String runLoggingLevel)
org.apache.camel.LoggingLevel type.
Default: TRACE
Group: schedulerdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder scheduledExecutorService(ScheduledExecutorService scheduledExecutorService)
java.util.concurrent.ScheduledExecutorService type.
Group: schedulerdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder scheduledExecutorService(String scheduledExecutorService)
java.util.concurrent.ScheduledExecutorService type.
Group: schedulerdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder scheduler(Object scheduler)
java.lang.Object type.
Default: none
Group: schedulerdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder scheduler(String scheduler)
java.lang.Object type.
Default: none
Group: schedulerdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder schedulerProperties(String key, Object value)
java.util.Map<java.lang.String,
java.lang.Object> type.
The option is multivalued, and you can use the
schedulerProperties(String, Object) method to add a value (call the
method multiple times to set more values).
Group: schedulerdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder schedulerProperties(Map values)
java.util.Map<java.lang.String,
java.lang.Object> type.
The option is multivalued, and you can use the
schedulerProperties(String, Object) method to add a value (call the
method multiple times to set more values).
Group: schedulerdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder startScheduler(boolean startScheduler)
boolean type.
Default: true
Group: schedulerdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder startScheduler(String startScheduler)
boolean type.
Default: true
Group: schedulerdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder timeUnit(TimeUnit timeUnit)
java.util.concurrent.TimeUnit type.
Default: MILLISECONDS
Group: schedulerdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder timeUnit(String timeUnit)
java.util.concurrent.TimeUnit type.
Default: MILLISECONDS
Group: schedulerdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder useFixedDelay(boolean useFixedDelay)
boolean type.
Default: true
Group: schedulerdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder useFixedDelay(String useFixedDelay)
boolean type.
Default: true
Group: schedulerdefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder certResource(String certResource)
java.lang.String type.
Group: securitydefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder certResourcePassword(String certResourcePassword)
java.lang.String type.
Group: securitydefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder keyPairProvider(Object keyPairProvider)
org.apache.sshd.common.keyprovider.KeyPairProvider type.
Group: securitydefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder keyPairProvider(String keyPairProvider)
org.apache.sshd.common.keyprovider.KeyPairProvider type.
Group: securitydefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder keyType(String keyType)
java.lang.String type.
Group: securitydefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder password(String password)
java.lang.String type.
Group: securitydefault SshEndpointBuilderFactory.SshEndpointConsumerBuilder username(String username)
java.lang.String type.
Group: securityApache Camel