Hi Prasoon,
What exactly are you trying to achieve?
Storing a message may make sense, if you want to process it later… but you could also leave it on the broker until your application is ready to do so. So why store it in the file system? What’s the purpose?
A Solace topic is another thing though… Solace topics are basically just tags on a message. A subscription to a topic is basically a string though. What would storing a topic on your file system achieve? Do you want to “remember” your topic subscription strings for later?
In order to answer your question on how to achieve this, it would also be good, if you can mention the programming language/API that you are using.
Best regards,
Christian