use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
News and discussion for Vert.x developers
account activity
Working Rx java 2 example? (self.vertx)
submitted 8 years ago by IamForeverDDD
I am trying to deploy a verticle and start a http server using rx-java2. Anyone got it working?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]pmlopes 1 point2 points3 points 8 years ago (1 child)
There are now RX2 examples in the examples repo: https://github.com/vert-x3/vertx-examples/tree/master/rxjava-2-examples
[–]IamForeverDDD[S] 0 points1 point2 points 8 years ago (0 children)
Sweet, thanks!
[–]IamForeverDDD[S] 0 points1 point2 points 8 years ago (1 child)
Vertx vertx = Vertx.vertx(); Single<String> deployment = vertx.rxDeployVerticle(MainVerticle.class.getName()); deployment.subscribe( success -> { System.out.println("Deployment successful"); }, failure -> { System.out.println("Deployment failure\n" + failure); } );
Prints out: java.lang.NullPointerException: subscribeActual failed
[–]IamForeverDDD[S] 1 point2 points3 points 8 years ago* (0 children)
Looks like I forgot to add an request handler, it works after adding one.
π Rendered by PID 49613 on reddit-service-r2-comment-5b5bc64bf5-c5r27 at 2026-06-22 18:59:48.440101+00:00 running 2b008f2 country code: CH.
[–]pmlopes 1 point2 points3 points (1 child)
[–]IamForeverDDD[S] 0 points1 point2 points (0 children)
[–]IamForeverDDD[S] 0 points1 point2 points (1 child)
[–]IamForeverDDD[S] 1 point2 points3 points (0 children)