我在试着决定在部署我的弗蒂克勒斯时该走哪条路。我得出的结论是,我应该将Vert.x作为我的运行时环境,而不是自己创建自己的Vertx实例,并开始从主方法部署我的应用程序。然而,我更喜欢在每个应用程序中都有一个主要的方法,这使我能够很好地控制我的服务、服务发现和其他东西。cd /verticles # the location of the
我有一个简单的垂直线,它从属性文件中读取配置并加载到vertx配置中。我编写了一个单元测试来测试这个垂直线的部署,测试失败的可能原因是这个位置的属性文件不可用。;
* This is the main launcher verticle, the followingoperations will be executed in start() method of this vertic