public void AssertIsValidForSend(Type messageType)
{
if (conventions.IsInSystemConventionList(messageType))
{
return;
}
if (!conventions.IsEventType(messageType))
{
return;
}
throw new Exception("Events can have multiple recipient so they should be published.");
}