public class GrpcConsumer
extends org.apache.camel.support.DefaultConsumer
| Modifier and Type | Field and Description |
|---|---|
protected GrpcConfiguration |
configuration |
protected GrpcEndpoint |
endpoint |
| Constructor and Description |
|---|
GrpcConsumer(GrpcEndpoint endpoint,
org.apache.camel.Processor processor,
GrpcConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doStart() |
protected void |
doStop() |
GrpcConfiguration |
getConfiguration() |
protected void |
initializeServer() |
void |
onCompleted(org.apache.camel.Exchange exchange) |
void |
onError(org.apache.camel.Exchange exchange,
Throwable error) |
boolean |
process(org.apache.camel.Exchange exchange,
org.apache.camel.AsyncCallback callback) |
createExchange, createUoW, defaultConsumerCallback, doBuild, doInit, doneUoW, doShutdown, getAsyncProcessor, getEndpoint, 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, waitprotected final GrpcConfiguration configuration
protected final GrpcEndpoint endpoint
public GrpcConsumer(GrpcEndpoint endpoint, org.apache.camel.Processor processor, GrpcConfiguration configuration)
public GrpcConfiguration getConfiguration()
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 onCompleted(org.apache.camel.Exchange exchange)
public void onError(org.apache.camel.Exchange exchange,
Throwable error)
Apache Camel