/// <summary> /// Constructs an instance of the <see cref="MessageRouter"/> class with a name and its type. /// </summary> /// <param name="name">The name of the message processor.</param> /// <param name="messageProcessorType">The type of the message router.</param> protected MessageRouter(string name, MessageRouterType messageRouterType) : base(name, IntermediaryType.MessageRouter) { MessageRouterType = messageRouterType; }
/// <summary> /// Constructs an instance of the <see cref="MessageRouter"/> class with its type. /// </summary> /// <param name="messageProcessorType">The type of the message router.</param> protected MessageRouter(MessageRouterType messageRouterType) : base(IntermediaryType.MessageRouter) { MessageRouterType = messageRouterType; }