public class ReactiveStreamsConsumer
extends org.apache.camel.support.DefaultConsumer
| Constructor and Description |
|---|
ReactiveStreamsConsumer(ReactiveStreamsEndpoint endpoint,
org.apache.camel.Processor processor,
CamelReactiveStreamsService service) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doStart() |
protected void |
doStop() |
ReactiveStreamsEndpoint |
getEndpoint() |
void |
onComplete() |
void |
onError(Throwable error) |
boolean |
process(org.apache.camel.Exchange exchange,
org.apache.camel.AsyncCallback callback) |
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 ReactiveStreamsConsumer(ReactiveStreamsEndpoint endpoint, org.apache.camel.Processor processor, CamelReactiveStreamsService service)
protected void doStart()
throws Exception
doStart in class org.apache.camel.support.DefaultConsumerExceptionprotected void doStop()
throws Exception
doStop in class org.apache.camel.support.DefaultConsumerExceptionpublic boolean process(org.apache.camel.Exchange exchange,
org.apache.camel.AsyncCallback callback)
public void onComplete()
public void onError(Throwable error)
public ReactiveStreamsEndpoint getEndpoint()
getEndpoint in interface org.apache.camel.EndpointAwaregetEndpoint in class org.apache.camel.support.DefaultConsumerApache Camel