Update InboundMessageProcessor.cs

use the helper method