Kajmačnica is a traditional Bosnian dessert of semolina custard enveloped in phyllo pastry and doused in agda, a syrup made with cooking sugar and water. It is a traditional Bosnian cake similar to the Greek galaktoboureko. The preparation starts with making semolina custard by cooking milk, sugar, butter, and semolina until it turns into a thick mass, which is then mixed with eggs and kaymak.