I think you need a third party like AWS. Than you can use the Mendix connector (https://marketplace.mendix.com/link/component/3066) to send and receive MQTT messages.