Wash and possibly halve the tomatoes. Clean and wash the mushrooms. Peel and halve shallots. Peel garlic and chop finely. Wash and coarsely chop rosemary
Cook the pasta in boiling salted water for about 10 minutes until al dente
Heat the oil in a coated pan. Sauté the shallots, garlic and mushrooms in it. Fry the tomatoes and rosemary briefly. Season with salt and pepper. Add 5-6 tablespoons of water, broth and bay leaf. Bring everything to the boil, cover and simmer for about 5 minutes
Drain the pasta and fold into the vegetables. Mix everything well. Season to taste with salt and pepper