ESP32 MQTT onMessage Callback never called

What MQTT client are you using? Most people use PubSubClient, it works well with ESP and has examples to show usage with callback.