@UriEndpoint(firstVersion="2.23.0",
scheme="iota",
title="IOTA",
syntax="iota:name",
label="ledger",
producerOnly=true)
public class IOTAEndpoint
extends org.apache.camel.support.DefaultEndpoint
| Constructor and Description |
|---|
IOTAEndpoint() |
IOTAEndpoint(String uri,
IOTAComponent component) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Producer |
createProducer() |
protected void |
doStart() |
protected void |
doStop() |
org.iota.jota.IotaAPI |
getApiClient() |
Integer |
getDepth() |
Integer |
getMinWeightMagnitude() |
String |
getName() |
String |
getOperation() |
Integer |
getSecurityLevel() |
String |
getTag() |
String |
getUrl() |
void |
setDepth(Integer depth)
The depth determines how deep the tangle is analysed for getting Tips
|
void |
setMinWeightMagnitude(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
|
void |
setName(String name)
Component name
|
void |
setOperation(String operation)
Which operation to perform, one of: sendTransfer, getNewAddress, getTransfers
|
void |
setSecurityLevel(Integer securityLevel)
Address security level
|
void |
setTag(String tag)
TAG
|
void |
setUrl(String url)
Node url
|
configureConsumer, configurePollingConsumer, configureProperties, createAsyncProducer, createEndpointUri, createExchange, createExchange, createPollingConsumer, doInit, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isBasicPropertyBinding, isBridgeErrorHandler, isLazyStartProducer, isLenientProperties, isPollingConsumerBlockWhenFull, isSingleton, isSynchronous, setBasicPropertyBinding, setBridgeErrorHandler, setCamelContext, setComponent, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setLazyStartProducer, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toStringbuild, doBuild, doFail, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic IOTAEndpoint()
public IOTAEndpoint(String uri, IOTAComponent component)
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
Exceptionprotected void doStart()
throws Exception
doStart in class org.apache.camel.support.DefaultEndpointExceptionprotected void doStop()
throws Exception
doStop in class org.apache.camel.support.DefaultEndpointExceptionpublic String getName()
public void setName(String name)
public String getUrl()
public void setUrl(String url)
public String getTag()
public void setTag(String tag)
public Integer getSecurityLevel()
public void setSecurityLevel(Integer securityLevel)
public Integer getMinWeightMagnitude()
public void setMinWeightMagnitude(Integer minWeightMagnitude)
public Integer getDepth()
public void setDepth(Integer depth)
public org.iota.jota.IotaAPI getApiClient()
public String getOperation()
public void setOperation(String operation)
Apache Camel