Wash, core and halve the fruits. Pour into a saucepan and add the mulled wine. Let it steep for 1 hour. Bring everything to the boil until the pulp dissolves. Then pass the mass through a sieve. This leaves about 1250 ml of juice.
Add the coconut flakes and bring to the boil. Then mix in the preserving sugar and cook for about 6 minutes. Take the pot off the hob and add the vanilla syrup to taste.
Pour the jam into the rinsed jars, screw on and place on the lid to cool.