Multiple handler classes from abstract handler in included jar #36396
nicklasweasel
started this conversation in
Community
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a utility jar file that contains an abstract class which "implements RequestHandler<SQSEvent, SQSBatchResponse>". Essentially it's used for catching exceptions and adding the message id:s to the BatchItemFailure list. However, when trying to use it with the quarkus-amazon-lambda-http extension I end up with a "Multiple handler classes. You have a custom handler class and the AWS Lambda HTTP extension. Please remove one of them from your deployment". Is there any way of ignoring this abstract class in the scanning?
Tried using
quarkus.arc.exclude-dependency.common.group-id=my-common-group-id
quarkus.arc.exclude-dependency.common.artifact-id=my-common-artifact-id
and
quarkus.arc.exclude-types=package-with-wildcard
but no go
Beta Was this translation helpful? Give feedback.
All reactions