public Type FromConfig(string path)
{
//TODO: this should not exist, its a temp hack because we are not serializing mailbox info when doing remote deploy..
if (string.IsNullOrEmpty(path))
{
return typeof (UnboundedMailbox);
}
var config = _system.Settings.Config.GetConfig(path);
var type = config.GetString("mailbox-type");
var mailboxType = TypeCache.GetType(type);
return mailboxType;
/*
mailbox-capacity = 1000
mailbox-push-timeout-time = 10s
stash-capacity = -1
*/
}
}