Beispiel #1
0
 private static void SetupSecondaryVirtualHost()
 {
     try
     {
         Broker.AddVhost(Constants.SecondaryVirtualHost);
     }
     catch (ErlangErrorRpcException)
     {
         // probably vhost exists already
     }
     Broker.SetPermissions("guest", ".*", ".*", ".*", Constants.SecondaryVirtualHost);
 }