public class GrpcProducer
extends org.apache.camel.impl.DefaultProducer
implements org.apache.camel.AsyncProcessor
Modifier and Type | Field and Description |
---|---|
protected GrpcConfiguration |
configuration |
protected GrpcEndpoint |
endpoint |
Constructor and Description |
---|
GrpcProducer(GrpcEndpoint endpoint,
GrpcConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
protected void |
doStart() |
protected void |
doStop() |
protected void |
initializeChannel() |
void |
process(org.apache.camel.Exchange exchange) |
boolean |
process(org.apache.camel.Exchange exchange,
org.apache.camel.AsyncCallback callback) |
createExchange, createExchange, createExchange, getEndpoint, isSingleton, toString
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
protected final GrpcConfiguration configuration
protected final GrpcEndpoint endpoint
public GrpcProducer(GrpcEndpoint endpoint, GrpcConfiguration configuration)
public boolean process(org.apache.camel.Exchange exchange, org.apache.camel.AsyncCallback callback)
process
in interface org.apache.camel.AsyncProcessor
public void process(org.apache.camel.Exchange exchange) throws Exception
process
in interface org.apache.camel.Processor
Exception
protected void doStart() throws Exception
doStart
in class org.apache.camel.impl.DefaultProducer
Exception
protected void doStop() throws Exception
doStop
in class org.apache.camel.impl.DefaultProducer
Exception
Apache Camel