I am not sure yet if browsing of topic's messages is a valid use case, but this feature is in-process in the current implementation which suggests that it might be relevant:
On the other hand, it is mentioned that browsing of topics is not valid in
ENTESB-2600. If so, it would be good to adjust the command to warn in case of an attempt to browse topic's messages as well as to change the command help (s/destination/queue/).
Currently, you will get:
JBossFuse:karaf@root> activemq:browse --amqurl tcp:ERROR: java.lang.RuntimeException: Failed to execute browse task. Reason: java.lang.NullPointerException
java.lang.RuntimeException: Failed to execute browse task. Reason: java.lang.NullPointerException