Replies: 1 comment
-
/cc @DavideD (hibernate-reactive), @FroMage (panache), @Sanne (hibernate-reactive), @gavinking (hibernate-reactive), @loicmathieu (panache), @matejvasek (amazon-lambda), @patriot1burke (amazon-lambda) |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Hi,
I have a repository implemented using quarkus-hibernate-reactive-panache that I'm using with happily with some REST Endpoints (quarkus-amazon-lambda-http). However I have a additional need to use this same repository with a lambda that would be processing some SQS Events, thus implementing RequestHandler<SQSEvent, String>.
I have understood there is no support have the return type be for example Uni, so I think I have to await for the repository to return.
I tried with:
.await().indefinitely();
which fails on "No current Vertx context found".
I also tried with VertxContextSupport.subscribeAndAwait, but this just hangs forever.
Any suggestions how to handle this case?
Beta Was this translation helpful? Give feedback.
All reactions