What enables the camel to chew spiny cactus without getting hurt?

I'm not sure, but a relative of the camel is the giraffe,

and the giraffe also eats thorny plants without getting hurt because it has something called Horny papillae (small bumps). These bumps protect the lips and tongue against plants with thorns.