public class WsConsumer
extends org.apache.camel.impl.DefaultConsumer
| Constructor and Description |
|---|
WsConsumer(WsEndpoint endpoint,
org.apache.camel.Processor processor) |
| Modifier and Type | Method and Description |
|---|---|
WsEndpoint |
getEndpoint() |
void |
sendMessage(byte[] message) |
void |
sendMessage(InputStream message) |
void |
sendMessage(Reader message) |
void |
sendMessage(String message) |
void |
start() |
void |
stop() |
createUoW, doneUoW, doStart, doStop, getAsyncProcessor, getExceptionHandler, getProcessor, getRoute, handleException, handleException, setExceptionHandler, setRoute, toStringpublic WsConsumer(WsEndpoint endpoint, org.apache.camel.Processor processor)
public void start()
throws Exception
start in interface org.apache.camel.Servicestart in class org.apache.camel.support.ServiceSupportExceptionpublic void stop()
throws Exception
stop in interface org.apache.camel.Servicestop in class org.apache.camel.support.ServiceSupportExceptionpublic WsEndpoint getEndpoint()
getEndpoint in interface org.apache.camel.EndpointAwaregetEndpoint in class org.apache.camel.impl.DefaultConsumerpublic void sendMessage(String message)
public void sendMessage(byte[] message)
public void sendMessage(InputStream message)
public void sendMessage(Reader message)
Apache Camel