Interface NatsEndpointBuilderFactory.AdvancedNatsEndpointConsumerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
- All Known Subinterfaces:
NatsEndpointBuilderFactory.AdvancedNatsEndpointBuilder
- Enclosing interface:
- NatsEndpointBuilderFactory
public static interface NatsEndpointBuilderFactory.AdvancedNatsEndpointConsumerBuilder extends org.apache.camel.builder.EndpointConsumerBuilder
Advanced builder for endpoint consumers for the Nats component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder
basic()
default NatsEndpointBuilderFactory.AdvancedNatsEndpointConsumerBuilder
basicPropertyBinding(boolean basicPropertyBinding)
Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities.default NatsEndpointBuilderFactory.AdvancedNatsEndpointConsumerBuilder
basicPropertyBinding(String basicPropertyBinding)
Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities.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(String exceptionHandler)
To let the consumer use a custom ExceptionHandler.default NatsEndpointBuilderFactory.AdvancedNatsEndpointConsumerBuilder
exceptionHandler(org.apache.camel.spi.ExceptionHandler exceptionHandler)
To let the consumer use a custom ExceptionHandler.default NatsEndpointBuilderFactory.AdvancedNatsEndpointConsumerBuilder
exchangePattern(String exchangePattern)
Sets the exchange pattern when the consumer creates an exchange.default NatsEndpointBuilderFactory.AdvancedNatsEndpointConsumerBuilder
exchangePattern(org.apache.camel.ExchangePattern 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).
-
-
-
Method Detail
-
basic
default NatsEndpointBuilderFactory.NatsEndpointConsumerBuilder basic()
-
exceptionHandler
default NatsEndpointBuilderFactory.AdvancedNatsEndpointConsumerBuilder exceptionHandler(org.apache.camel.spi.ExceptionHandler exceptionHandler)
To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option is a:org.apache.camel.spi.ExceptionHandler
type. Group: consumer (advanced)
-
exceptionHandler
default NatsEndpointBuilderFactory.AdvancedNatsEndpointConsumerBuilder exceptionHandler(String exceptionHandler)
To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option will be converted to aorg.apache.camel.spi.ExceptionHandler
type. Group: consumer (advanced)
-
exchangePattern
default NatsEndpointBuilderFactory.AdvancedNatsEndpointConsumerBuilder exchangePattern(org.apache.camel.ExchangePattern exchangePattern)
Sets the exchange pattern when the consumer creates an exchange. The option is a:org.apache.camel.ExchangePattern
type. Group: consumer (advanced)
-
exchangePattern
default NatsEndpointBuilderFactory.AdvancedNatsEndpointConsumerBuilder exchangePattern(String exchangePattern)
Sets the exchange pattern when the consumer creates an exchange. The option will be converted to aorg.apache.camel.ExchangePattern
type. Group: consumer (advanced)
-
basicPropertyBinding
default NatsEndpointBuilderFactory.AdvancedNatsEndpointConsumerBuilder basicPropertyBinding(boolean basicPropertyBinding)
Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities. The option is a:boolean
type. Default: false Group: advanced
-
basicPropertyBinding
default NatsEndpointBuilderFactory.AdvancedNatsEndpointConsumerBuilder basicPropertyBinding(String basicPropertyBinding)
Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities. The option will be converted to aboolean
type. Default: false Group: advanced
-
connection
default NatsEndpointBuilderFactory.AdvancedNatsEndpointConsumerBuilder connection(Object connection)
Reference an already instantiated connection to Nats server. The option is a:io.nats.client.Connection
type. Group: advanced
-
connection
default NatsEndpointBuilderFactory.AdvancedNatsEndpointConsumerBuilder connection(String connection)
Reference an already instantiated connection to Nats server. The option will be converted to aio.nats.client.Connection
type. Group: advanced
-
synchronous
default NatsEndpointBuilderFactory.AdvancedNatsEndpointConsumerBuilder synchronous(boolean synchronous)
Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). The option is a:boolean
type. Default: false Group: advanced
-
synchronous
default NatsEndpointBuilderFactory.AdvancedNatsEndpointConsumerBuilder synchronous(String synchronous)
Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). The option will be converted to aboolean
type. Default: false Group: advanced
-
-