code: private void doDeployModule(final Message<JsonObject> message) {
      String moduleName = message.body().getString("module");
      if (moduleName == null) {
        message.reply(new JsonObject().putString("status", "error").putString("message", "No module name specified."));
        return;
      }
  
      JsonObject config = message.body().getObject("config");
      if (config == null) {
        config = new JsonObject();
      }
      int instances = message.body().getInteger("instances", 1);
      platform.deployModule(moduleName, config, instances, createDeploymentHandler(message));
    }
docs: Deploys a module