From 51e5d643ad4921432318d9ad2b1430233fb4400d Mon Sep 17 00:00:00 2001 From: Ralph Kuepper Date: Sat, 23 Oct 2021 16:00:10 +0200 Subject: [PATCH] SQS Support --- Sources/VaporAWSLambdaRuntime/LambdaServer.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Sources/VaporAWSLambdaRuntime/LambdaServer.swift b/Sources/VaporAWSLambdaRuntime/LambdaServer.swift index ac56fa7..71c5bb8 100644 --- a/Sources/VaporAWSLambdaRuntime/LambdaServer.swift +++ b/Sources/VaporAWSLambdaRuntime/LambdaServer.swift @@ -80,6 +80,7 @@ public class LambdaServer: Server { case apiGateway case apiGatewayV2 case applicationLoadBalancer + case sqs } var requestSource: RequestSource @@ -117,6 +118,8 @@ public class LambdaServer: Server { handler = APIGatewayV2Handler(application: application, responder: responder) case .applicationLoadBalancer: handler = ALBHandler(application: application, responder: responder) + case .sqs: + handler = SQSHandler(application: application, responder: responder) } self.lambdaLifecycle = Lambda.Lifecycle(