public static interface NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder
extends org.apache.camel.builder.EndpointConsumerBuilder
| Modifier and Type | Method and Description |
|---|---|
default NatsEndpointBuilderFactory.AdvancedNatsEndpointConsumerBuilder |
advanced() |
default NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder |
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 NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder |
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 NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder |
connectionTimeout(int connectionTimeout)
Timeout for connection attempts.
|
default NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder |
connectionTimeout(String connectionTimeout)
Timeout for connection attempts.
|
default NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder |
flushConnection(boolean flushConnection)
Define if we want to flush connection when stopping or not.
|
default NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder |
flushConnection(String flushConnection)
Define if we want to flush connection when stopping or not.
|
default NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder |
flushTimeout(int flushTimeout)
Set the flush timeout (in milliseconds).
|
default NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder |
flushTimeout(String flushTimeout)
Set the flush timeout (in milliseconds).
|
default NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder |
maxMessages(String maxMessages)
Stop receiving messages from a topic we are subscribing to after
maxMessages.
|
default NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder |
maxPingsOut(int maxPingsOut)
maximum number of pings have not received a response allowed by the
client.
|
default NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder |
maxPingsOut(String maxPingsOut)
maximum number of pings have not received a response allowed by the
client.
|
default NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder |
maxReconnectAttempts(int maxReconnectAttempts)
Max reconnection attempts.
|
default NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder |
maxReconnectAttempts(String maxReconnectAttempts)
Max reconnection attempts.
|
default NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder |
noEcho(boolean noEcho)
Turn off echo.
|
default NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder |
noEcho(String noEcho)
Turn off echo.
|
default NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder |
noRandomizeServers(boolean noRandomizeServers)
Whether or not randomizing the order of servers for the connection
attempts.
|
default NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder |
noRandomizeServers(String noRandomizeServers)
Whether or not randomizing the order of servers for the connection
attempts.
|
default NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder |
pedantic(boolean pedantic)
Whether or not running in pedantic mode (this affects performance).
|
default NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder |
pedantic(String pedantic)
Whether or not running in pedantic mode (this affects performance).
|
default NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder |
pingInterval(int pingInterval)
Ping interval to be aware if connection is still alive (in
milliseconds).
|
default NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder |
pingInterval(String pingInterval)
Ping interval to be aware if connection is still alive (in
milliseconds).
|
default NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder |
poolSize(int poolSize)
Consumer thread pool size (default is 10).
|
default NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder |
poolSize(String poolSize)
Consumer thread pool size (default is 10).
|
default NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder |
queueName(String queueName)
The Queue name if we are using nats for a queue configuration.
|
default NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder |
reconnect(boolean reconnect)
Whether or not using reconnection feature.
|
default NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder |
reconnect(String reconnect)
Whether or not using reconnection feature.
|
default NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder |
reconnectTimeWait(int reconnectTimeWait)
Waiting time before attempts reconnection (in milliseconds).
|
default NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder |
reconnectTimeWait(String reconnectTimeWait)
Waiting time before attempts reconnection (in milliseconds).
|
default NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder |
replyToDisabled(boolean replyToDisabled)
Can be used to turn off sending back reply message in the consumer.
|
default NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder |
replyToDisabled(String replyToDisabled)
Can be used to turn off sending back reply message in the consumer.
|
default NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder |
requestCleanupInterval(int requestCleanupInterval)
Interval to clean up cancelled/timed out requests.
|
default NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder |
requestCleanupInterval(String requestCleanupInterval)
Interval to clean up cancelled/timed out requests.
|
default NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder |
secure(boolean secure)
Set secure option indicating TLS is required.
|
default NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder |
secure(String secure)
Set secure option indicating TLS is required.
|
default NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder |
servers(String servers)
URLs to one or more NAT servers.
|
default NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder |
sslContextParameters(Object sslContextParameters)
To configure security using SSLContextParameters.
|
default NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder |
sslContextParameters(String sslContextParameters)
To configure security using SSLContextParameters.
|
default NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder |
verbose(boolean verbose)
Whether or not running in verbose mode.
|
default NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder |
verbose(String verbose)
Whether or not running in verbose mode.
|
default NatsEndpointBuilderFactory.AdvancedNatsEndpointConsumerBuilder advanced()
default NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder connectionTimeout(int connectionTimeout)
connectionTimeout - the value to setdefault NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder connectionTimeout(String connectionTimeout)
connectionTimeout - the value to setdefault NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder flushConnection(boolean flushConnection)
flushConnection - the value to setdefault NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder flushConnection(String flushConnection)
flushConnection - the value to setdefault NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder flushTimeout(int flushTimeout)
flushTimeout - the value to setdefault NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder flushTimeout(String flushTimeout)
flushTimeout - the value to setdefault NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder maxPingsOut(int maxPingsOut)
maxPingsOut - the value to setdefault NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder maxPingsOut(String maxPingsOut)
maxPingsOut - the value to setdefault NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder maxReconnectAttempts(int maxReconnectAttempts)
maxReconnectAttempts - the value to setdefault NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder maxReconnectAttempts(String maxReconnectAttempts)
maxReconnectAttempts - the value to setdefault NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder noEcho(boolean noEcho)
noEcho - the value to setdefault NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder noEcho(String noEcho)
noEcho - the value to setdefault NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder noRandomizeServers(boolean noRandomizeServers)
noRandomizeServers - the value to setdefault NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder noRandomizeServers(String noRandomizeServers)
noRandomizeServers - the value to setdefault NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder pedantic(boolean pedantic)
pedantic - the value to setdefault NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder pedantic(String pedantic)
pedantic - the value to setdefault NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder pingInterval(int pingInterval)
pingInterval - the value to setdefault NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder pingInterval(String pingInterval)
pingInterval - the value to setdefault NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder reconnect(boolean reconnect)
reconnect - the value to setdefault NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder reconnect(String reconnect)
reconnect - the value to setdefault NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder reconnectTimeWait(int reconnectTimeWait)
reconnectTimeWait - the value to setdefault NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder reconnectTimeWait(String reconnectTimeWait)
reconnectTimeWait - the value to setdefault NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder requestCleanupInterval(int requestCleanupInterval)
requestCleanupInterval - the value to setdefault NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder requestCleanupInterval(String requestCleanupInterval)
requestCleanupInterval - the value to setdefault NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder servers(String servers)
servers - the value to setdefault NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder verbose(boolean verbose)
verbose - the value to setdefault NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder verbose(String verbose)
verbose - the value to setdefault NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
bridgeErrorHandler - the value to setdefault NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder bridgeErrorHandler(String bridgeErrorHandler)
bridgeErrorHandler - the value to setdefault NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder maxMessages(String maxMessages)
maxMessages - the value to setdefault NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder poolSize(int poolSize)
poolSize - the value to setdefault NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder poolSize(String poolSize)
poolSize - the value to setdefault NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder queueName(String queueName)
queueName - the value to setdefault NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder replyToDisabled(boolean replyToDisabled)
replyToDisabled - the value to setdefault NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder replyToDisabled(String replyToDisabled)
replyToDisabled - the value to setdefault NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder secure(boolean secure)
secure - the value to setdefault NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder secure(String secure)
secure - the value to setdefault NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder sslContextParameters(Object sslContextParameters)
sslContextParameters - the value to setdefault NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder sslContextParameters(String sslContextParameters)
sslContextParameters - the value to setApache Camel