public class WebsocketProducer extends org.apache.camel.impl.DefaultProducer implements WebsocketProducerConsumer
| Constructor and Description |
|---|
WebsocketProducer(WebsocketEndpoint endpoint,
WebsocketStore store) |
| Modifier and Type | Method and Description |
|---|---|
WebsocketEndpoint |
getEndpoint()
Gets the endpoint
|
void |
process(org.apache.camel.Exchange exchange) |
void |
start() |
void |
stop() |
createExchange, createExchange, createExchange, doStart, doStop, isSingleton, toStringpublic WebsocketProducer(WebsocketEndpoint endpoint, WebsocketStore store)
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.ProducergetEndpoint in class org.apache.camel.impl.DefaultProducerpublic void start()
throws Exception
start in interface org.apache.camel.Servicestart in class org.apache.camel.support.ServiceSupportExceptionApache Camel