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