@UriEndpoint(firstVersion="2.21.0",
scheme="xchange",
title="XChange",
syntax="xchange:name",
producerOnly=true,
label="bitcoin,blockchain")
public class XChangeEndpoint
extends org.apache.camel.impl.DefaultEndpoint
| Constructor and Description |
|---|
XChangeEndpoint(String uri,
XChangeComponent component,
XChangeConfiguration configuration,
XChange exchange) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Producer |
createProducer() |
List<org.knowm.xchange.dto.account.Balance> |
getBalances() |
XChangeComponent |
getComponent() |
XChangeConfiguration |
getConfiguration() |
List<org.knowm.xchange.currency.Currency> |
getCurrencies() |
org.knowm.xchange.dto.meta.CurrencyMetaData |
getCurrencyMetaData(org.knowm.xchange.currency.Currency curr) |
org.knowm.xchange.dto.meta.CurrencyPairMetaData |
getCurrencyPairMetaData(org.knowm.xchange.currency.CurrencyPair pair) |
List<org.knowm.xchange.currency.CurrencyPair> |
getCurrencyPairs() |
List<org.knowm.xchange.dto.account.FundingRecord> |
getFundingHistory() |
org.knowm.xchange.dto.marketdata.Ticker |
getTicker(org.knowm.xchange.currency.CurrencyPair pair) |
List<org.knowm.xchange.dto.account.Wallet> |
getWallets() |
boolean |
isSingleton() |
configureConsumer, configurePollingConsumer, configureProperties, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStart, doStop, equals, getCamelContext, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isBridgeErrorHandler, isLenientProperties, isPollingConsumerBlockWhenFull, isSynchronous, setBridgeErrorHandler, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toStringdoResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendpublic XChangeEndpoint(String uri, XChangeComponent component, XChangeConfiguration configuration, XChange exchange)
public XChangeComponent getComponent()
getComponent in class org.apache.camel.impl.DefaultEndpointpublic org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
Exceptionpublic boolean isSingleton()
public XChangeConfiguration getConfiguration()
public List<org.knowm.xchange.currency.Currency> getCurrencies()
public org.knowm.xchange.dto.meta.CurrencyMetaData getCurrencyMetaData(org.knowm.xchange.currency.Currency curr)
public List<org.knowm.xchange.currency.CurrencyPair> getCurrencyPairs()
public org.knowm.xchange.dto.meta.CurrencyPairMetaData getCurrencyPairMetaData(org.knowm.xchange.currency.CurrencyPair pair)
public List<org.knowm.xchange.dto.account.Balance> getBalances() throws IOException
IOExceptionpublic List<org.knowm.xchange.dto.account.FundingRecord> getFundingHistory() throws IOException
IOExceptionpublic List<org.knowm.xchange.dto.account.Wallet> getWallets() throws IOException
IOExceptionpublic org.knowm.xchange.dto.marketdata.Ticker getTicker(org.knowm.xchange.currency.CurrencyPair pair)
throws IOException
IOExceptionApache Camel