You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm relatively new to Vertx and I'm strugging how do I bootstrap adding and initializing additional verticles in conjunction with the JerseyVerticle? For example I'd like to push data onto the EventBus from a request and have another verticle handle and respond to it.
If you start via a Main class, then you can just deploy the JerseyVerticle in addition to your SomeBizService verticle after you have created the vertx instance.
If you run a fat jar (ie. maven-shade-plugin) or via the vertx command line, then you probably want to have a bootstrap verticle that is responsible for deploying the JerseyVerticle and SomeBizService.
As long as vertx-hk2 and vertx-jersey are on the class path, then you can programmatically deploy the JerseyVerticle as described in the README.md:
I'm relatively new to Vertx and I'm strugging how do I bootstrap adding and initializing additional verticles in conjunction with the JerseyVerticle? For example I'd like to push data onto the EventBus from a request and have another verticle handle and respond to it.
How is this done with vertx-jersey + vertx-hk2?
e.g. // The Jersey Resource
// The other Verticle
The text was updated successfully, but these errors were encountered: