17 questions
0
votes
1
answer
84
views
java vertx webclient stream from server with chunked messages
I have a vertx server which sends on events to all streamers an information.
Using a console all working as wished.
But if I use a vertx webclient the client is connected but did not receive anything.
...
2
votes
0
answers
1k
views
vertx-web request timing out when getting connection from pool
I am on vertx 4.2.4 and using vertx-web to call a remote service.
I am using connect timeout of 500ms and request timeout of 1000ms. The application has 4 instances a verticle deployed and running ...
-1
votes
1
answer
238
views
Do function execution continues after failing Promise in Java Vertx
I have a function which I'm trying to reduce complexity of.
public Future<JsonArray> getAllCompanies() {
String url = ...
return Future.future(
promise -> ...
0
votes
1
answer
138
views
Vertx Web routers are "losing" request parameters
I am running a test Vertx application that is supposed to receive a POST request and process some JSON data. This is using Vertx V4.3.8.
The JSON data is being passed through the following Javascript ...
0
votes
1
answer
322
views
Vertx Form Login Handler with Postgresql Failure
I am trying to authenticate user using FormLoginHandler and Postgresql Database with SqlAuthentication.
But I get the following error:
Jun 15, 2022 1:14:34 PM io.vertx.ext.web.RoutingContext
SEVERE: ...
1
vote
0
answers
342
views
Vert.x Web app throws IllegalStateExceptions when run in a Docker container
I have a Vert.x Web application that acts as a simple web server. The start() method of the verticle is below:
@Override
public void start() throws Exception
{
HttpServerOptions options = new ...
0
votes
1
answer
2k
views
Request Parameters validations in vertx 4.0.3
I was using vertx-Web-api-contracts in vertx 3.0 to validate my query parameters and form parameters using
HTTPRequestValidationHandler and ParameterTypeValidator
code sample :
private final ...
0
votes
1
answer
948
views
Unable to serve static resources from classpath using vertx-web
The vertx-web documentation says that it is possible to serve static resources from the classpath, and everything I've read in forum/help threads seems to confirm this. Unfortunately I can't seem to ...
0
votes
1
answer
523
views
OpenApi generator java-vertx-web where to put business logic
I am trying out the java-vertx-web yaml to code generator. The generation process works fine and i get the code in target/generated-sources/openapi/src/gen/java/main/org/openapitools/vertxweb/server/...