Hi @Ravikant_Gautam,
Hopefully, I can help you here. I believe there are three approaches you can take here. First, we need to separate the concepts; ActiveMQ is a messaging queue that does not directly translate to MQTT. From what I understand ActiveMQ has the functionality of transforming sending your queue data to an MQTT topic as you have already done.
So there are three options:
- You continue to move data from your queue to the MQTT broker and us subscribe via the Telegraf consumer.
- You can use the HTTP input plugin to trigger a read from the ActiveMQ queue: ActiveMQ
- You could create a small script or java app utilising the ActiveMQ library. Telegraf can then run this for you and ingest the data using the execd plugin.