Creamy Spanish croquettes without splitting
Get the béchamel thick enough to shape, then keep the coating intact in the fryer.

Cook the filling until it leaves a trail
Melt butter and cook the flour while stirring until it smells faintly nutty. Whisk in warm milk in batches. The first splash may turn thick at once. Keep stirring and add more milk a little at a time so the sauce smooths out. Change to a spatula once the sauce becomes too thick for a whisk.
A filling ready to chill will pull away from the sides and briefly expose the base of the pan when you draw the spatula through it. Taste after adding ham, which may make additional salt unnecessary.
Chill and shape in a shallow tray
Spread the béchamel in an even layer in a shallow dish so it cools promptly. Cover the surface and refrigerate until firm, usually at least four hours. If the edges are cold while the middle is still soft, wait before trying to shape the batch.
Make small portions of similar size. Coat each in flour, beaten egg and fine breadcrumbs. Then check each end for exposed filling, especially if you cut rectangular logs. Return the coated croquettes to the refrigerator while the oil heats.
Fry a test croquette first
Oil around 175°C / 350°F helps the coating crisp quickly. If you add several cold croquettes together, the oil can drop in temperature. Fry small batches and let the oil recover between them. A test piece tells you whether the coating can hold and whether the middle warms before the outside darkens.
Drain on a rack and give the croquettes a short rest. If the test piece leaks at one end, patch the coating on the remaining pieces before frying the next batch.

