@UriEndpoint(firstVersion="2.19.0",
scheme="grpc",
title="gRPC",
syntax="grpc:host:port/service",
category=RPC)
public class GrpcEndpoint
extends org.apache.camel.support.DefaultEndpoint
| Modifier and Type | Field and Description |
|---|---|
protected GrpcConfiguration |
configuration |
| Constructor and Description |
|---|
GrpcEndpoint(String uri,
GrpcComponent component,
GrpcConfiguration config) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Producer |
createProducer() |
protected void |
doInit() |
GrpcConfiguration |
getConfiguration() |
String |
getServiceName() |
String |
getServicePackage() |
configureConsumer, configurePollingConsumer, configureProperties, createAsyncProducer, createEndpointUri, createExchange, createExchange, createPollingConsumer, doStart, doStop, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isBasicPropertyBinding, isBridgeErrorHandler, isLazyStartProducer, isLenientProperties, isPollingConsumerBlockWhenFull, isSingleton, isSynchronous, setBasicPropertyBinding, setBridgeErrorHandler, setCamelContext, setComponent, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setLazyStartProducer, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toStringbuild, doBuild, doFail, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, finalize, getClass, notify, notifyAll, wait, wait, wait@UriParam protected final GrpcConfiguration configuration
public GrpcEndpoint(String uri, GrpcComponent component, GrpcConfiguration config) throws Exception
Exceptionpublic GrpcConfiguration getConfiguration()
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
Exceptionprotected void doInit()
throws Exception
doInit in class org.apache.camel.support.DefaultEndpointExceptionpublic String getServiceName()
public String getServicePackage()
Apache Camel