Exchanging messages between MQTT publishers and MQTT subscribers is fine, except that not all software is able to understand MQTT and, in a layer between your objects and your application, you may require a few additional software tools to process your data.