@UriEndpoint(firstVersion="2.23.0",
scheme="ipfs",
title="IPFS",
syntax="ipfs:host:port/cmd",
producerOnly=true,
label="file,ipfs")
public class IPFSEndpoint
extends org.apache.camel.support.DefaultEndpoint
| Modifier and Type | Field and Description |
|---|---|
static long |
DEFAULT_TIMEOUT |
| Constructor and Description |
|---|
IPFSEndpoint(String uri,
IPFSComponent component,
IPFSConfiguration config) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Producer |
createProducer() |
protected void |
doStart() |
IPFSComponent |
getComponent() |
io.nessus.ipfs.client.IPFSClient |
getIPFSClient() |
boolean |
isSingleton() |
void |
setClient(io.nessus.ipfs.client.IPFSClient client) |
configureConsumer, configurePollingConsumer, configureProperties, createAsyncProducer, createEndpointUri, createExchange, createExchange, createPollingConsumer, doInit, doStop, equals, getCamelContext, getConsumerProperties, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isBasicPropertyBinding, isBridgeErrorHandler, isLazyStartProducer, isLenientProperties, isPollingConsumerBlockWhenFull, isSynchronous, setBasicPropertyBinding, setBridgeErrorHandler, setCamelContext, setConsumerProperties, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setLazyStartProducer, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toStringdoResume, doShutdown, doSuspend, getStatus, init, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendpublic static final long DEFAULT_TIMEOUT
public IPFSEndpoint(String uri, IPFSComponent component, IPFSConfiguration config)
public io.nessus.ipfs.client.IPFSClient getIPFSClient()
public void setClient(io.nessus.ipfs.client.IPFSClient client)
protected void doStart()
throws Exception
doStart in class org.apache.camel.support.DefaultEndpointExceptionpublic IPFSComponent getComponent()
getComponent in class org.apache.camel.support.DefaultEndpointpublic org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
Exceptionpublic boolean isSingleton()
isSingleton in interface org.apache.camel.IsSingletonisSingleton in class org.apache.camel.support.DefaultEndpointApache Camel