public EventBusHandler(Vertx vertx,String apiPath,String sockPath,String addressPrefix,String addressPathPattern){
  this.vertx=vertx;
  this.apiPath=apiPath;
  this.sockPath=sockPath;
  this.addressPrefix=addressPrefix;
  this.adressPathPattern=Pattern.compile(apiPath + addressPathPattern);
}

public EventBusHandler ( Vertx vertx , String apiPath , String sockPath , String addressPrefix , String addressPathPattern ) { this . vertx = vertx ; this . apiPath = apiPath ; this . sockPath = sockPath ; this . addressPrefix = addressPrefix ; this . adressPathPattern = Pattern . compile ( apiPath + addressPathPattern ) ; }
constructs and configures the handler .
