anonymous wrote : For start() and stop(), I'm not really sure where this should 
be handled and would appreciate a steer in the right direction. I guess I need 
to implement this in some interceptor(s) but not really sure where.
  |  

I've just ckecked in an incomplete implementation for start()/stop(). It is 
incomplete in that it doesn't deal with the situation when there are in-flight 
messages. However, it makes possible writing reasonable good unit tests. Take a 
look at org.jboss.test.jms.ConnectionTest and 
org.jboss.test.jms.MessageConsumerTest

anonymous wrote : 
  | There are also a set of createConnectionConsumer() methods. I notice from 
the spec. that these are optional, and aren't implemented in JBoss 4. Do we 
need consider these yet? Or should they be left for later? I can just throw 
NotYetSupportedException if appropriate for now. 
  | 

It's ok if you leave them for later. 


anonymous wrote : I also noticed in the design docs. that there's a 
ConnectionInterceptor mentioned although I'm not sure of it's exact role and if 
it's a place where some of this functionality should be implemented. If someone 
could clarify it's role and whether it's related to these tasks, that would be 
great. 
  | 

I've also checked in the initial implementation of the ConnectionInterceptor. 
It deals with getClientID()/setClientID(), to start with. This is also the 
place to take care of error handling at connectin level (ExceptionListener)..



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

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


-------------------------------------------------------
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

Reply via email to