Interface IOTAEndpointBuilderFactory.IOTAEndpointBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- Enclosing interface:
- IOTAEndpointBuilderFactory
public static interface IOTAEndpointBuilderFactory.IOTAEndpointBuilder extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint for the IOTA component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default IOTAEndpointBuilderFactory.IOTAEndpointBuilder
depth(Integer depth)
The depth determines how deep the tangle is analysed for getting Tips.default IOTAEndpointBuilderFactory.IOTAEndpointBuilder
depth(String depth)
The depth determines how deep the tangle is analysed for getting Tips.default IOTAEndpointBuilderFactory.IOTAEndpointBuilder
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).default IOTAEndpointBuilderFactory.IOTAEndpointBuilder
lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message).default IOTAEndpointBuilderFactory.IOTAEndpointBuilder
minWeightMagnitude(Integer minWeightMagnitude)
The minWeightMagnitude is the minimum number of zeroes that a proof-of-work output/transaction hash must end with to be considered valid by full nodes.default IOTAEndpointBuilderFactory.IOTAEndpointBuilder
minWeightMagnitude(String minWeightMagnitude)
The minWeightMagnitude is the minimum number of zeroes that a proof-of-work output/transaction hash must end with to be considered valid by full nodes.default IOTAEndpointBuilderFactory.IOTAEndpointBuilder
operation(String operation)
Which operation to perform, one of: sendTransfer, getNewAddress, getTransfers.default IOTAEndpointBuilderFactory.IOTAEndpointBuilder
securityLevel(Integer securityLevel)
Security level to be used for the private key / address.default IOTAEndpointBuilderFactory.IOTAEndpointBuilder
securityLevel(String securityLevel)
Security level to be used for the private key / address.default IOTAEndpointBuilderFactory.IOTAEndpointBuilder
tag(String tag)
TAG.default IOTAEndpointBuilderFactory.IOTAEndpointBuilder
url(String url)
Node url.
-
-
-
Method Detail
-
depth
default IOTAEndpointBuilderFactory.IOTAEndpointBuilder depth(Integer depth)
The depth determines how deep the tangle is analysed for getting Tips. The option is a: <code>java.lang.Integer</code> type. Default: 9 Group: producer- Parameters:
depth
- the value to set- Returns:
- the dsl builder
-
depth
default IOTAEndpointBuilderFactory.IOTAEndpointBuilder depth(String depth)
The depth determines how deep the tangle is analysed for getting Tips. The option will be converted to a <code>java.lang.Integer</code> type. Default: 9 Group: producer- Parameters:
depth
- the value to set- Returns:
- the dsl builder
-
lazyStartProducer
default IOTAEndpointBuilderFactory.IOTAEndpointBuilder 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: <code>boolean</code> type. Default: false Group: producer- Parameters:
lazyStartProducer
- the value to set- Returns:
- the dsl builder
-
lazyStartProducer
default IOTAEndpointBuilderFactory.IOTAEndpointBuilder 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 a <code>boolean</code> type. Default: false Group: producer- Parameters:
lazyStartProducer
- the value to set- Returns:
- the dsl builder
-
minWeightMagnitude
default IOTAEndpointBuilderFactory.IOTAEndpointBuilder minWeightMagnitude(Integer minWeightMagnitude)
The minWeightMagnitude is the minimum number of zeroes that a proof-of-work output/transaction hash must end with to be considered valid by full nodes. The option is a: <code>java.lang.Integer</code> type. Default: 14 Group: producer- Parameters:
minWeightMagnitude
- the value to set- Returns:
- the dsl builder
-
minWeightMagnitude
default IOTAEndpointBuilderFactory.IOTAEndpointBuilder minWeightMagnitude(String minWeightMagnitude)
The minWeightMagnitude is the minimum number of zeroes that a proof-of-work output/transaction hash must end with to be considered valid by full nodes. The option will be converted to a <code>java.lang.Integer</code> type. Default: 14 Group: producer- Parameters:
minWeightMagnitude
- the value to set- Returns:
- the dsl builder
-
operation
default IOTAEndpointBuilderFactory.IOTAEndpointBuilder operation(String operation)
Which operation to perform, one of: sendTransfer, getNewAddress, getTransfers. The option is a: <code>java.lang.String</code> type. Required: true Group: producer- Parameters:
operation
- the value to set- Returns:
- the dsl builder
-
tag
default IOTAEndpointBuilderFactory.IOTAEndpointBuilder tag(String tag)
TAG. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
tag
- the value to set- Returns:
- the dsl builder
-
url
default IOTAEndpointBuilderFactory.IOTAEndpointBuilder url(String url)
Node url. The option is a: <code>java.lang.String</code> type. Required: true Group: producer- Parameters:
url
- the value to set- Returns:
- the dsl builder
-
securityLevel
default IOTAEndpointBuilderFactory.IOTAEndpointBuilder securityLevel(Integer securityLevel)
Security level to be used for the private key / address. Can be 1, 2 or 3. The option is a: <code>java.lang.Integer</code> type. Default: 1 Group: security- Parameters:
securityLevel
- the value to set- Returns:
- the dsl builder
-
securityLevel
default IOTAEndpointBuilderFactory.IOTAEndpointBuilder securityLevel(String securityLevel)
Security level to be used for the private key / address. Can be 1, 2 or 3. The option will be converted to a <code>java.lang.Integer</code> type. Default: 1 Group: security- Parameters:
securityLevel
- the value to set- Returns:
- the dsl builder
-
-