[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Getting a list of all ClientConsumers (http://jira.jboss.com

sergeypk do-not-reply at jboss.com
Fri Jun 29 05:32:03 EDT 2007


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.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059075#4059075

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059075



More information about the jboss-dev-forums mailing list