public static interface NatsEndpointBuilderFactory.AdvancedNatsEndpointConsumerBuilder
extends org.apache.camel.builder.EndpointConsumerBuilder
| Modifier and Type | Method and Description |
|---|---|
default NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder |
basic() |
default NatsEndpointBuilderFactory.AdvancedNatsEndpointConsumerBuilder |
connection(Object connection)
Reference an already instantiated connection to Nats server.
|
default NatsEndpointBuilderFactory.AdvancedNatsEndpointConsumerBuilder |
connection(String connection)
Reference an already instantiated connection to Nats server.
|
default NatsEndpointBuilderFactory.AdvancedNatsEndpointConsumerBuilder |
exceptionHandler(org.apache.camel.spi.ExceptionHandler exceptionHandler)
To let the consumer use a custom ExceptionHandler.
|
default NatsEndpointBuilderFactory.AdvancedNatsEndpointConsumerBuilder |
exceptionHandler(String exceptionHandler)
To let the consumer use a custom ExceptionHandler.
|
default NatsEndpointBuilderFactory.AdvancedNatsEndpointConsumerBuilder |
exchangePattern(org.apache.camel.ExchangePattern exchangePattern)
Sets the exchange pattern when the consumer creates an exchange.
|
default NatsEndpointBuilderFactory.AdvancedNatsEndpointConsumerBuilder |
exchangePattern(String exchangePattern)
Sets the exchange pattern when the consumer creates an exchange.
|
default NatsEndpointBuilderFactory.AdvancedNatsEndpointConsumerBuilder |
synchronous(boolean synchronous)
Sets whether synchronous processing should be strictly used, or Camel
is allowed to use asynchronous processing (if supported).
|
default NatsEndpointBuilderFactory.AdvancedNatsEndpointConsumerBuilder |
synchronous(String synchronous)
Sets whether synchronous processing should be strictly used, or Camel
is allowed to use asynchronous processing (if supported).
|
default NatsEndpointBuilderFactory.AdvancedNatsEndpointConsumerBuilder |
traceConnection(boolean traceConnection)
Whether or not connection trace messages should be printed to
standard out for fine grained debugging of connection issues.
|
default NatsEndpointBuilderFactory.AdvancedNatsEndpointConsumerBuilder |
traceConnection(String traceConnection)
Whether or not connection trace messages should be printed to
standard out for fine grained debugging of connection issues.
|
default NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder basic()
default NatsEndpointBuilderFactory.AdvancedNatsEndpointConsumerBuilder exceptionHandler(org.apache.camel.spi.ExceptionHandler exceptionHandler)
exceptionHandler - the value to setdefault NatsEndpointBuilderFactory.AdvancedNatsEndpointConsumerBuilder exceptionHandler(String exceptionHandler)
exceptionHandler - the value to setdefault NatsEndpointBuilderFactory.AdvancedNatsEndpointConsumerBuilder exchangePattern(org.apache.camel.ExchangePattern exchangePattern)
exchangePattern - the value to setdefault NatsEndpointBuilderFactory.AdvancedNatsEndpointConsumerBuilder exchangePattern(String exchangePattern)
exchangePattern - the value to setdefault NatsEndpointBuilderFactory.AdvancedNatsEndpointConsumerBuilder connection(Object connection)
connection - the value to setdefault NatsEndpointBuilderFactory.AdvancedNatsEndpointConsumerBuilder connection(String connection)
connection - the value to setdefault NatsEndpointBuilderFactory.AdvancedNatsEndpointConsumerBuilder synchronous(boolean synchronous)
synchronous - the value to setdefault NatsEndpointBuilderFactory.AdvancedNatsEndpointConsumerBuilder synchronous(String synchronous)
synchronous - the value to setdefault NatsEndpointBuilderFactory.AdvancedNatsEndpointConsumerBuilder traceConnection(boolean traceConnection)
traceConnection - the value to setdefault NatsEndpointBuilderFactory.AdvancedNatsEndpointConsumerBuilder traceConnection(String traceConnection)
traceConnection - the value to setApache Camel