Cook the pasta in boiling salted water for about 10 minutes. Peel and chop the onion and fry in hot oil. Wash, clean and chop the mushrooms and fry them briefly. Stir in tomato pieces, stock, peas and herbs.
Let everything simmer for about 5 minutes. Drain the pasta. Cut ham into strips. Wash and chop the parsley and put it in the pan with the noodles. Season with salt and pepper.