Input messages matching method of a distributed processing system