Peel and finely dice the onion and garlic. Heat the oil in a pot. Sauté onion and garlic in it until transparent. Add rice and fry briefly. Add wine and half of the broth, bring to the boil and cook covered over a low heat for about 20 minutes.
Gradually add the remaining stock, stirring from time to time. Roast the pine nuts in a pan without fat until golden brown, take them out. Cut ham into small cubes. Add the ham and grated Parmesan cheese to the risotto 5 minutes before the end of the cooking time.
Season to taste with salt and pepper. Clean and wash the rocket and put something aside for garnishing. Add the rocket to the risotto just before serving. Arrange risotto in bowls. Serve garnished with parmesan slices, the rest of the rocket and pine nuts.