Questions tagged [vertx-httpclient]
100 questions
0
votes
1 answer
Vertx HTTP client support caching
I'm wondering how to add a cache config to Vertx http web client.
With Apache http client, I could do easily set the setCacheConfig
PoolingHttpClientConnectionManager connectionManager = new PoolingHttpClientConnectionManager();
…

Philip K. Adetiloye
- 3,102
- 4
- 37
- 63
0
votes
2 answers
How to mock io.vertx.ext.jdbc.JDBCClient using any mocking frameworks
I would like to mock io.vertx.ext.jdbc.JDBCClient to unit-test the below verticle code:
class A {
private final Helper help = new Helper();
public JsonObject checkEmailAvailability(String email, JDBCClient jdbc) throws SignUpException {
…

Anand
- 1
- 3
0
votes
2 answers
Getting Concurrent TimeoutException in JUNIT with vertx
I am trying to run junit test cases using VertxUnitRunner.class.
I have 35 test cases, each time getting concurrent exception for different test case. I am running these test cases in VM machine with jenkins.
Does any one know a solution for…

Rajesh T
- 11
- 2
0
votes
1 answer
NoSuchMethodError io.netty.util.AsciiString.cached
I am new to Java and have jumped into maintaining an existing software system written in Java which makes use of Vertx.io . When I call the Vertx web client .get() method, I get an error with the netty package. I have googled for the error, but…

ralfe
- 1,412
- 2
- 15
- 25
0
votes
1 answer
Using vertx.io web client with no success
I am studying vertx.io web client and I am already blocked doing a simple get... Uff. Here is what I put together (I am very new at vertx.io):
private void getUserEmail(String accessToken, Handler> handler) {
String url =…

Francesco
- 1,742
- 5
- 44
- 78
0
votes
2 answers
Netty client clean multipart tmp data
I'm using VertX http client, which uses netty under hood.
When requests with large parameters are being sent, tmp files are generated in /tmp/ : Attr_[timestamp]_[parameterName].att, for example Attr_456456132456431_username.att (which is, for…

Nick Remezov
- 51
- 4
0
votes
0 answers
Vertx Verticle gets undeployed if uncaught exception happens
I am deploying a TrendsVerticle "com.example.test.trends" and calling this from MainVerticle.
Issue happens when some uncaught exception happens in TrendsVerticle, the next time when I call the API I get this error and my whole verticle gets un…

Shash
- 11
- 3
0
votes
2 answers
Vertx | Global state of Verticles in a cluster
Newbie alert.
I'm trying to write a simple module in Vertx that polls the database (PostGres) every 10 seconds and pushes the results to the clients. I'm thinking of confining the blocking code (queries the database via JDBC) in a worker verticle…

user1189332
- 1,773
- 4
- 26
- 46
0
votes
1 answer
How can we communicate between a TCPEventBus and SockJSEventBus in vertx
I have written two verticle one runs a TCPEventBusBridge and another SockJSEventBus. I want to communicate between both. How can I do it in a vertx environment.
android client is talking to the TCPEventBus server and a web client is listening to a…

user2746732
- 119
- 1
- 9
0
votes
2 answers
SOCKJS reply upon SOCKET_CREATED event
I am connection through Vertx eventbus (SockJS to my Java based backend. Everything work fine, However, I cannot find a way to send an initial message.
Is there a way to send back data when SockJS bridge receives SOCKET_CREATED to the sockjs browser…

Shvalb
- 1,835
- 2
- 30
- 60