@UriEndpoint(firstVersion="3.2.0",
scheme="aws2-lambda",
title="AWS 2 Lambda",
syntax="aws2-lambda:function",
producerOnly=true,
category={CLOUD,COMPUTING,SERVERLESS})
public class Lambda2Endpoint
extends org.apache.camel.support.DefaultEndpoint
Constructor and Description |
---|
Lambda2Endpoint(String uri,
org.apache.camel.Component component,
Lambda2Configuration configuration) |
Modifier and Type | Method and Description |
---|---|
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Producer |
createProducer() |
void |
doStart() |
void |
doStop() |
software.amazon.awssdk.services.lambda.LambdaClient |
getAwsLambdaClient() |
Lambda2Configuration |
getConfiguration() |
String |
getFunction() |
void |
setFunction(String function)
Name of the Lambda function.
|
configureConsumer, configurePollingConsumer, configureProperties, createAsyncProducer, createEndpointUri, createExchange, createExchange, createPollingConsumer, doInit, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isAutowiredEnabled, isBridgeErrorHandler, isLazyStartProducer, isLenientProperties, isPollingConsumerBlockWhenFull, isSingleton, setAutowiredEnabled, setBridgeErrorHandler, setCamelContext, setComponent, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setLazyStartProducer, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, toString
build, 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, suspend
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public Lambda2Endpoint(String uri, org.apache.camel.Component component, Lambda2Configuration configuration)
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor) throws Exception
Exception
public String getFunction()
public void setFunction(String function)
public void doStart() throws Exception
doStart
in class org.apache.camel.support.DefaultEndpoint
Exception
public void doStop() throws Exception
doStop
in class org.apache.camel.support.DefaultEndpoint
Exception
public Lambda2Configuration getConfiguration()
public software.amazon.awssdk.services.lambda.LambdaClient getAwsLambdaClient()
Apache Camel