public class WebsocketProducer extends org.apache.camel.support.DefaultProducer implements WebsocketProducerConsumer
| Constructor and Description |
|---|
WebsocketProducer(WebsocketEndpoint endpoint) |
| Modifier and Type | Method and Description |
|---|---|
void |
doStart() |
void |
doStop() |
WebsocketEndpoint |
getEndpoint()
Gets the endpoint
|
protected void |
handleSleepInterruptedException(InterruptedException e,
org.apache.camel.Exchange exchange)
Called when a sleep is interrupted; allows derived classes to handle this case differently
|
void |
process(org.apache.camel.Exchange exchange) |
void |
setStore(WebsocketStore store) |
createExchange, isSingleton, toStringbuild, doBuild, doFail, doInit, doLifecycleChange, doResume, doShutdown, 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 WebsocketProducer(WebsocketEndpoint endpoint)
public void process(org.apache.camel.Exchange exchange)
throws Exception
process in interface org.apache.camel.ProcessorExceptionpublic WebsocketEndpoint getEndpoint()
WebsocketProducerConsumergetEndpoint in interface WebsocketProducerConsumergetEndpoint in interface org.apache.camel.EndpointAwaregetEndpoint in class org.apache.camel.support.DefaultProducerpublic void doStart()
throws Exception
doStart in class org.apache.camel.support.DefaultProducerExceptionpublic void doStop()
throws Exception
doStop in class org.apache.camel.support.DefaultProducerExceptionpublic void setStore(WebsocketStore store)
protected void handleSleepInterruptedException(InterruptedException e, org.apache.camel.Exchange exchange) throws InterruptedException
InterruptedExceptionApache Camel