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 |
sendMessage(Throwable throwable) |
void |
start() |
void |
stop() |
createUoW, doneUoW, doStart, doStop, getAsyncProcessor, getExceptionHandler, getProcessor, getRoute, handleException, handleException, setExceptionHandler, setRoute, toString
public WsConsumer(WsEndpoint endpoint, org.apache.camel.Processor processor)
public void start() throws Exception
start
in interface org.apache.camel.Service
start
in class org.apache.camel.support.ServiceSupport
Exception
public void stop() throws Exception
stop
in interface org.apache.camel.Service
stop
in class org.apache.camel.support.ServiceSupport
Exception
public WsEndpoint getEndpoint()
getEndpoint
in interface org.apache.camel.EndpointAware
getEndpoint
in class org.apache.camel.impl.DefaultConsumer
public void sendMessage(String message)
public void sendMessage(Throwable throwable)
public void sendMessage(byte[] message)
public void sendMessage(InputStream message)
public void sendMessage(Reader message)
Apache Camel