4 Replies Latest reply on Jun 29, 2007 11:53 AM by Tim Fox

    Getting a list of all ClientConsumers (http://jira.jboss.com

    Sergey Koshcheyev Newbie

      I don't see an easy way to get a list of all ClientConsumers associated with a particular Connection, what would be the best way to collect them?

      Can I use HierarchicalState.getChildren() to get a list of SessionStates from ConnectionState, and then use getChildren() again to get the ConsumerStates? I don't see getChildren() used in this manner anywhere in the code so I wonder if it's the right way to go.