this.messageAuthorizationPolicy = messageAuthorizationPolicy;
}
public void start() throws Exception {
getServer().start();
DiscoveryAgent da = getDiscoveryAgent();
if( da!=null ) {
da.setBrokerName(getBrokerInfo().getBrokerName());
da.registerService(getConnectUri().toString());
da.start();
}
if (enableStatusMonitor){
this.statusDector = new TransportStatusDetector(this);
this.statusDector.start();
}