@UriEndpoint(scheme="coap",
title="CoAP",
syntax="coap:uri",
consumerClass=CoAPConsumer.class,
label="iot")
public class CoAPEndpoint
extends org.apache.camel.impl.DefaultEndpoint
| Constructor and Description |
|---|
CoAPEndpoint(String uri,
CoAPComponent component) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Producer |
createProducer() |
String |
getCoapMethod()
The CoAP method this endpoint binds to.
|
org.eclipse.californium.core.CoapServer |
getCoapServer() |
URI |
getUri()
The URI for the CoAP endpoint
|
boolean |
isSingleton() |
void |
setCoapMethod(String m) |
void |
setUri(URI u) |
configureConsumer, configurePollingConsumer, configureProperties, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStart, doStop, equals, getCamelContext, getComponent, 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 CoAPEndpoint(String uri, CoAPComponent component)
public void setCoapMethod(String m)
public String getCoapMethod()
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
Exceptionpublic boolean isSingleton()
public void setUri(URI u)
public URI getUri()
public org.eclipse.californium.core.CoapServer getCoapServer()
Apache Camel