To prepare the dish onions, vinegar, white wine and spices (bay leaves, pepper, clove and juniper berries) are cooked together.