From 67d807557af683d2d6e204f56b1da618e91454da Mon Sep 17 00:00:00 2001 From: James Netherton Date: Tue, 11 May 2021 13:46:06 +0100 Subject: [PATCH] Ensure generated gRPC services are annotaed with GrpcService Fixes #2569 --- .../quarkus/component/grpc/deployment/GrpcProcessor.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/extensions/grpc/deployment/src/main/java/org/apache/camel/quarkus/component/grpc/deployment/GrpcProcessor.java b/extensions/grpc/deployment/src/main/java/org/apache/camel/quarkus/component/grpc/deployment/GrpcProcessor.java index b752cbe6ba09..dcb36b610b7d 100644 --- a/extensions/grpc/deployment/src/main/java/org/apache/camel/quarkus/component/grpc/deployment/GrpcProcessor.java +++ b/extensions/grpc/deployment/src/main/java/org/apache/camel/quarkus/component/grpc/deployment/GrpcProcessor.java @@ -22,8 +22,6 @@ import java.util.List; import java.util.Set; -import javax.inject.Singleton; - import io.grpc.BindableService; import io.grpc.stub.AbstractAsyncStub; import io.grpc.stub.AbstractBlockingStub; @@ -44,6 +42,7 @@ import io.quarkus.gizmo.MethodCreator; import io.quarkus.gizmo.MethodDescriptor; import io.quarkus.gizmo.ResultHandle; +import io.quarkus.grpc.GrpcService; import io.quarkus.grpc.deployment.BindableServiceBuildItem; import org.apache.camel.component.grpc.GrpcComponent; import org.apache.camel.component.grpc.server.GrpcMethodHandler; @@ -149,7 +148,7 @@ private Set generateBindableServiceBeans(BuildProducer