[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Getting a list of all ClientConsumers (http://jira.jboss
timfox
do-not-reply at jboss.com
Fri Jun 29 06:16:28 EDT 2007
Yes that should work.
For this task, you want to consider adding a start() and stop() method on the ClientConsumer class.
First you need to tell the server consumer endpoint to stop and obtain the lastDeliveryID (like how is currently done in closing()).
Then wait for the delivery to arrive and wait for onMessages to execute, much as is currently done in close().
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059093#4059093
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059093
More information about the jboss-dev-forums
mailing list