Questions tagged [vertx3]

Vert.x is a polyglot event-driven application framework for building reactive applications which run on the Java Virtual Machine.

Vert.x is a lightweight, polyglot, event-driven high performance application platform for the JVM that's designed for modern reactive applications.

41 questions
0
votes
0 answers

SpringApplication Unable to start embedded containerUnable to start EmbeddedWebApplicationContext due to missing EmbeddedServletContainerFactory bean

Spring Boot deployment in Vertx 3.2.1 I am trying to deploy services which are developed using Spring Boot in vertx framework. The services are developed in Spring Boot and deployed using Gradle. The following is my development environment a)…
0
votes
1 answer

Vertx Java deploy a JavaScript verticle with Future Callback

i would like deploy inside my Java VertX a javascript Verticle. Of course, this is not a problem. The question is, how can i give them a callback ? My Java Code: Vertx.clusteredVertx(vertxOptions, res -> { if (res.succeeded()) { …
Marcel
  • 377
  • 5
  • 16
0
votes
1 answer

vertex 3.x fetch timezone from http request

I am using vertex 3.x. I have a requirement to access timezone from HttpServerRequest object to provide timezone based data to user.
Deepak Agrawal
  • 1,301
  • 5
  • 19
  • 43
0
votes
1 answer

how to write own async hander in java vertx

I want to write a function take some arguments and an Handler object. After doing some computation based on other arguments, I need to return result on handler object. To explain it better, I am giving an example: public void…
Black_Rider
  • 1,465
  • 2
  • 16
  • 18
0
votes
1 answer

vert.x OAuth2 Facebook API call to get access_token fails because of text/plain content type

Facebook seems to answer some API calls with text/plain instead of application/json. The oauth endpoint https://graph.facebook.com/oauth/access_token is one example. This seems to confuse the vert.x oauth client implementation. This is the call that…
kliron
  • 4,383
  • 4
  • 31
  • 47
0
votes
1 answer

IntelliJ IDEA - Cannot inject value for option 'onRedeploy'

While trying out Automatic redeployment in IntelliJ IDEA, I'm stuck with onRedeploy, My bash script file has the following code: #!/usr/bin/env bash mvn package java -jar target/Test-1.0-SNAPSHOT-fat.jar \ …
Vashum
  • 853
  • 1
  • 10
  • 24
0
votes
1 answer

Clustering with vertx.io

As I read, there are two types of clustering: horizontal and vertical. I am trying vertical clustering with vertx.io. I have two vertx applications running on two different machines. One application creates a TCP server while other application…
Deepak Agrawal
  • 1,301
  • 5
  • 19
  • 43
0
votes
1 answer

vertx httpserver wait for port listening

I´m having an issue with a RC running my server. My integration test are hitting the server before this one startup. How can I ensure that the port of the server is actually listening before I start my test?. I was using httpServer.listen(port,…
paul
  • 12,873
  • 23
  • 91
  • 153
0
votes
1 answer

Vertx Future does not wait

Since I´m using Vertx 3.1 in my stack, I was thinking to use the Future feature that the tools brings, but after read the API seems pretty limited to me. I cannot even find the way to make the the future wait for an Observable. Here my code …
paul
  • 12,873
  • 23
  • 91
  • 153
0
votes
1 answer

vertx rx.Observable.subscribe to return input stream

How can I make HttpClientResponse to return an InputStream rather than a vertx.rx.Buffer? HttpClientRequest req = client.requestAbs(HttpMethod.POST, endpointUrl); req.putHeader("Content-Type", "text/xml; charset=utf-8"). …
rohit
  • 862
  • 12
  • 26
0
votes
1 answer

Get User from event bus

I'm looking in the documentation, but I cannot find any information. I have a HTTP request where I can easily get the user from the context. router.get("/politrons/users").handler(routingContext -> { User user = routingContext.user(); …
paul
  • 12,873
  • 23
  • 91
  • 153
1 2
3