Interface NatsEndpointBuilderFactory.AdvancedNatsEndpointProducerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- All Known Subinterfaces:
NatsEndpointBuilderFactory.AdvancedNatsEndpointBuilder
- Enclosing interface:
- NatsEndpointBuilderFactory
public static interface NatsEndpointBuilderFactory.AdvancedNatsEndpointProducerBuilder extends org.apache.camel.builder.EndpointProducerBuilder
Advanced builder for endpoint producers for the Nats component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default NatsEndpointBuilderFactory.NatsEndpointProducerBuilder
basic()
default NatsEndpointBuilderFactory.AdvancedNatsEndpointProducerBuilder
connection(Object connection)
Reference an already instantiated connection to Nats server.default NatsEndpointBuilderFactory.AdvancedNatsEndpointProducerBuilder
connection(String connection)
Reference an already instantiated connection to Nats server.default NatsEndpointBuilderFactory.AdvancedNatsEndpointProducerBuilder
synchronous(boolean synchronous)
Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).default NatsEndpointBuilderFactory.AdvancedNatsEndpointProducerBuilder
synchronous(String synchronous)
Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).default NatsEndpointBuilderFactory.AdvancedNatsEndpointProducerBuilder
traceConnection(boolean traceConnection)
Whether or not connection trace messages should be printed to standard out for fine grained debugging of connection issues.default NatsEndpointBuilderFactory.AdvancedNatsEndpointProducerBuilder
traceConnection(String traceConnection)
Whether or not connection trace messages should be printed to standard out for fine grained debugging of connection issues.
-
-
-
Method Detail
-
basic
default NatsEndpointBuilderFactory.NatsEndpointProducerBuilder basic()
-
connection
default NatsEndpointBuilderFactory.AdvancedNatsEndpointProducerBuilder 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.AdvancedNatsEndpointProducerBuilder 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.AdvancedNatsEndpointProducerBuilder 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.AdvancedNatsEndpointProducerBuilder 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
-
traceConnection
default NatsEndpointBuilderFactory.AdvancedNatsEndpointProducerBuilder traceConnection(boolean traceConnection)
Whether or not connection trace messages should be printed to standard out for fine grained debugging of connection issues. The option is a:boolean
type. Default: false Group: advanced
-
traceConnection
default NatsEndpointBuilderFactory.AdvancedNatsEndpointProducerBuilder traceConnection(String traceConnection)
Whether or not connection trace messages should be printed to standard out for fine grained debugging of connection issues. The option will be converted to aboolean
type. Default: false Group: advanced
-
-