"[EMAIL PROTECTED]" wrote : anonymous wrote : There is one omission for now: The hierarchy interceptor does not maintain MessageConsumers. This is because there is currently no ConsumerDelegate class (the class returned from ServerSessionDelegate is a Consumer). Any proxy that's closed by the ClosedInterceptor needs to implement close() and closing() which the Consumer class doesn't. | | | | You are right, this was an experiment, it was implemented that way because the Consumer didn't need to field any "ConsumerDelegate" method. All consumer-related methods are taken care of by interceptors. When all JMS functionality will be implemented, we will refactor the model and see what is the best aproach. | | Do you really need a ConsumerDelegate class? What would be the reason to have it? | |
I suppose, if we needed to do anything on close() for a Consumer then that would be a reason to have a ConsumerDelegate() class, otherwise I agree that there doesn't seem to be a good reason. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873311#3873311 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3873311 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ JBoss-Development mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-development
