public class WebsocketConsumer extends org.apache.camel.impl.DefaultConsumer implements WebsocketProducerConsumer
| Constructor and Description |
|---|
WebsocketConsumer(WebsocketEndpoint endpoint,
org.apache.camel.Processor processor) |
| Modifier and Type | Method and Description |
|---|---|
WebsocketEndpoint |
getEndpoint()
Gets the endpoint
|
String |
getPath() |
void |
sendMessage(String connectionKey,
Object message) |
void |
sendMessage(String connectionKey,
String message) |
void |
start() |
void |
stop() |
createUoW, doneUoW, doStart, doStop, getAsyncProcessor, getExceptionHandler, getProcessor, getRoute, handleException, handleException, setExceptionHandler, setRoute, toStringpublic WebsocketConsumer(WebsocketEndpoint endpoint, org.apache.camel.Processor processor)
public void start()
throws Exception
start in interface org.apache.camel.Servicestart in class org.apache.camel.support.ServiceSupportExceptionpublic void stop()
throws Exception
stop in interface org.apache.camel.Servicestop in class org.apache.camel.support.ServiceSupportExceptionpublic WebsocketEndpoint getEndpoint()
WebsocketProducerConsumergetEndpoint in interface WebsocketProducerConsumergetEndpoint in interface org.apache.camel.ConsumergetEndpoint in class org.apache.camel.impl.DefaultConsumerpublic String getPath()
Apache Camel