TopicToFile

From ir-gis.com (external)

This can be used to capture activemq text topic data and write either to the console or a file.

Usage:

java TopicToFile -broker tcp://localhost:61616 plots        // will send text from the plot topic to the console
java TopicToFile -broker tcp://localhost:61616 plots file   // will send text from the plot topic to file

You can obtain help from the utility via:

java TopicToFile -help