List HornetQ messages in delivery for topic

Solution Verified - Updated -

Issue

  • Using CLI, how do we list messages in delivery for a given topic subscription in the same way we can for a queue.
  • we have a topic subscriber with 2 messages in delivery, how to list messages.
[standalone@localhost:9990 /]  /subsystem=messaging-activemq/server=default/jms-topic=test:list-all-subscriptions()
{
    "outcome" => "success",
    "result" => [{
        "durable" => true,
        "queueName" => "EAP7.test",
        "clientID" => "EAP7",
        "messageCount" => 2,
        "deliveringCount" => 2,
        "name" => "test",
        "consumers" => [{
            "creationTime" => 1503987722945L,
            "consumerID" => 0,
            "browseOnly" => false,
            "connectionID" => "963119195",
            "sessionID" => "5f38462c-8c82-11e7-8b99-8bef11fa4489"
        }]
    }]
}

Environment

  • Red Hat JBoss Enterprise Application Platform
    • 6.4.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content