Wash and halve the mushrooms. Dice onion. Wash, dry and chop the meat. Cut ham into strips
Steam the beans covered in a little salt water for 12-15 minutes. Cook the pasta in boiling salted water for about 10 minutes
Fry the ham and meat in hot oil. Season with salt and pepper. Add mushrooms and onion. Fry everything for about 3 more minutes. Add tomatoes, thyme and peppercorns, bring to the boil. Season the sauce to taste
Drain the beans and noodles. Mix both with the sauce