Put the onion, carrot, celery, bay leaves and peppercorns in a medium saucepan. Remove all packaging from the gammon, place in the saucepan and add just enough cold water to cover.
Cover with a lid and place over a high heat, bring to the boil, then lower the heat and simmer gently for 1 hour. Drain off the cooking liquid and vegetables. You can either discard both or strain the liquid, discard the vegetables and save to use as stock for future use. Preheat the oven to 200°C.
Place the well-drained gammon joint in an ovenproof dish or roasting tin. In a small bowl, mix the honey, mustard and Chinese 5 spice powder together until smooth. Spoon half of the glaze all over the top and sides of the gammon, spreading it over with the back of the spoon.
Place the glazed gammon in the preheated oven for 10 minutes, until the glaze becomes sticky. Remove from the oven and spread the remaining glaze all over the gammon, then return to the oven for a further 10 minutes, until the glaze is sticky and slightly caramelised.
Remove from the oven and allow to rest for 5 minutes before slicing. This will make it easier to slice. Serve hot or cold with an accompaniment of choice.