public class WebsocketConsumer extends org.apache.camel.support.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,
String subprotocol,
String relativePath) |
void |
sendMessage(String connectionKey,
String message,
InetSocketAddress remote,
String subprotocol,
String relativePath) |
createExchange, createUoW, defaultConsumerCallback, doBuild, doInit, doneUoW, doShutdown, getAsyncProcessor, getExceptionHandler, getHealthCheck, getProcessor, getRoute, getRouteId, handleException, handleException, releaseExchange, setExceptionHandler, setHealthCheck, setRoute, setRouteId, toStringbuild, doFail, doLifecycleChange, doResume, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic WebsocketConsumer(WebsocketEndpoint endpoint, org.apache.camel.Processor processor)
public void doStart()
throws Exception
doStart in class org.apache.camel.support.DefaultConsumerExceptionpublic void doStop()
throws Exception
doStop in class org.apache.camel.support.DefaultConsumerExceptionpublic WebsocketEndpoint getEndpoint()
WebsocketProducerConsumergetEndpoint in interface WebsocketProducerConsumergetEndpoint in interface org.apache.camel.EndpointAwaregetEndpoint in class org.apache.camel.support.DefaultConsumerpublic String getPath()
public void sendMessage(String connectionKey, String message, InetSocketAddress remote, String subprotocol, String relativePath)
public void sendMessage(String connectionKey, Object message, InetSocketAddress remote, String subprotocol, String relativePath)
Apache Camel