Interface TahuEdgeEndpointBuilderFactory.AdvancedTahuEdgeEndpointBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder,org.apache.camel.EndpointProducerResolver
- Enclosing interface:
TahuEdgeEndpointBuilderFactory
public static interface TahuEdgeEndpointBuilderFactory.AdvancedTahuEdgeEndpointBuilder
extends org.apache.camel.builder.EndpointProducerBuilder
Advanced builder for endpoint for the Tahu Edge Node / Device component.
-
Method Summary
Modifier and TypeMethodDescriptionbasic()bdSeqManager(String bdSeqManager) To use a specific org.eclipse.tahu.message.BdSeqManager implementation to manage edge node birth-death sequence numbers.bdSeqManager(org.eclipse.tahu.message.BdSeqManager bdSeqManager) To use a specific org.eclipse.tahu.message.BdSeqManager implementation to manage edge node birth-death sequence numbers.bdSeqNumPath(String bdSeqNumPath) Path for Sparkplug B NBIRTH/NDEATH sequence number persistence files.headerFilterStrategy(String headerFilterStrategy) To use a custom HeaderFilterStrategy to filter headers used as Sparkplug metrics.headerFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy) To use a custom HeaderFilterStrategy to filter headers used as Sparkplug metrics.lazyStartProducer(boolean lazyStartProducer) Whether the producer should be started lazy (on the first message).lazyStartProducer(String lazyStartProducer) Whether the producer should be started lazy (on the first message).useAliases(boolean useAliases) Flag enabling support for metric aliases.useAliases(String useAliases) Flag enabling support for metric aliases.Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUriMethods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolve
-
Method Details
-
basic
-
headerFilterStrategy
default TahuEdgeEndpointBuilderFactory.AdvancedTahuEdgeEndpointBuilder headerFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy) To use a custom HeaderFilterStrategy to filter headers used as Sparkplug metrics. Default value notice: Defaults to sending all Camel Message headers with name prefixes of CamelTahuMetric., including those with null values. The option is a:org.apache.camel.spi.HeaderFilterStrategytype. Group: producer (advanced)- Parameters:
headerFilterStrategy- the value to set- Returns:
- the dsl builder
-
headerFilterStrategy
default TahuEdgeEndpointBuilderFactory.AdvancedTahuEdgeEndpointBuilder headerFilterStrategy(String headerFilterStrategy) To use a custom HeaderFilterStrategy to filter headers used as Sparkplug metrics. Default value notice: Defaults to sending all Camel Message headers with name prefixes of CamelTahuMetric., including those with null values. The option will be converted to aorg.apache.camel.spi.HeaderFilterStrategytype. Group: producer (advanced)- Parameters:
headerFilterStrategy- the value to set- Returns:
- the dsl builder
-
lazyStartProducer
default TahuEdgeEndpointBuilderFactory.AdvancedTahuEdgeEndpointBuilder lazyStartProducer(boolean lazyStartProducer) Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option is a:booleantype. Default: false Group: producer (advanced)- Parameters:
lazyStartProducer- the value to set- Returns:
- the dsl builder
-
lazyStartProducer
default TahuEdgeEndpointBuilderFactory.AdvancedTahuEdgeEndpointBuilder lazyStartProducer(String lazyStartProducer) Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option will be converted to abooleantype. Default: false Group: producer (advanced)- Parameters:
lazyStartProducer- the value to set- Returns:
- the dsl builder
-
bdSeqManager
default TahuEdgeEndpointBuilderFactory.AdvancedTahuEdgeEndpointBuilder bdSeqManager(org.eclipse.tahu.message.BdSeqManager bdSeqManager) To use a specific org.eclipse.tahu.message.BdSeqManager implementation to manage edge node birth-death sequence numbers. The option is a:org.eclipse.tahu.message.BdSeqManagertype. Default: org.apache.camel.component.tahu.CamelBdSeqManager Group: advanced- Parameters:
bdSeqManager- the value to set- Returns:
- the dsl builder
-
bdSeqManager
default TahuEdgeEndpointBuilderFactory.AdvancedTahuEdgeEndpointBuilder bdSeqManager(String bdSeqManager) To use a specific org.eclipse.tahu.message.BdSeqManager implementation to manage edge node birth-death sequence numbers. The option will be converted to aorg.eclipse.tahu.message.BdSeqManagertype. Default: org.apache.camel.component.tahu.CamelBdSeqManager Group: advanced- Parameters:
bdSeqManager- the value to set- Returns:
- the dsl builder
-
bdSeqNumPath
default TahuEdgeEndpointBuilderFactory.AdvancedTahuEdgeEndpointBuilder bdSeqNumPath(String bdSeqNumPath) Path for Sparkplug B NBIRTH/NDEATH sequence number persistence files. This path will contain files named as -bdSeqNum and must be writable by the executing process' user. The option is a:java.lang.Stringtype. Default: ${sys:java.io.tmpdir}/CamelTahuTemp Group: advanced- Parameters:
bdSeqNumPath- the value to set- Returns:
- the dsl builder
-
useAliases
default TahuEdgeEndpointBuilderFactory.AdvancedTahuEdgeEndpointBuilder useAliases(boolean useAliases) Flag enabling support for metric aliases. The option is a:booleantype. Default: false Group: advanced- Parameters:
useAliases- the value to set- Returns:
- the dsl builder
-
useAliases
default TahuEdgeEndpointBuilderFactory.AdvancedTahuEdgeEndpointBuilder useAliases(String useAliases) Flag enabling support for metric aliases. The option will be converted to abooleantype. Default: false Group: advanced- Parameters:
useAliases- the value to set- Returns:
- the dsl builder
-