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 |
---|---|
void |
doStart() |
void |
doStop() |
WebsocketEndpoint |
getEndpoint()
Gets the endpoint
|
String |
getPath() |
void |
sendMessage(String connectionKey,
Object message) |
void |
sendMessage(String connectionKey,
String message) |
createUoW, doneUoW, getAsyncProcessor, getExceptionHandler, getProcessor, getRoute, handleException, handleException, setExceptionHandler, setRoute, toString
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
public WebsocketConsumer(WebsocketEndpoint endpoint, org.apache.camel.Processor processor)
public void doStart() throws Exception
doStart
in class org.apache.camel.impl.DefaultConsumer
Exception
public void doStop() throws Exception
doStop
in class org.apache.camel.impl.DefaultConsumer
Exception
public WebsocketEndpoint getEndpoint()
WebsocketProducerConsumer
getEndpoint
in interface WebsocketProducerConsumer
getEndpoint
in interface org.apache.camel.EndpointAware
getEndpoint
in class org.apache.camel.impl.DefaultConsumer
public String getPath()
Apache Camel