Adrian,

I have made the first attempt to put together your the results of your work on 
delegates and containers with the core. The code is largely what you already 
committed into jboss.org.jms, with the observation that "jboss.org.jms" has 
become "jboss.org.messaging.jms".

There are two separate cases I am dealing with:

a)  in-VM (or colocated), where the client-side connection delegate and the 
server-side connection delegate are directly linked. The client container's 
last interceptor in the chain forwards to the server container and they're in 
the same address space.

b) standard, where the client-side container and the server-side containers 
have remoting in between.

Currently I am concentrating on a) and I have several questions:

1) ConnectionDelegates: the interceptor stacks of the the client-side 
connection delegate and sever-side connection delegate contain identical 
standard interceptors (JMSExceptionInterceptor, LogInterceptor, 
ClosedInterceptor, etc). Is this your intention? In a colocated configuration, 
these interceptors are just duplicated, for example you'll get twice the 
logging you need.

2) 
org.jboss.messaging.jms.server.container.ServerConnectionInterceptor.invoke(): 
Do you really intend to return null when handling "createSession" or it is just 
an incomplete implementation? If this is your intention, who is supposed to 
call ServerContainerFactory.createSessionContainer()? The 
ServerFactoryInterceptor?

3) I assume that the ConnectionInterceptor and SessionInterceptor, which are 
supposed to do the heavy work, were just not implemented. Yet. I wasn't able to 
find them anywhere.

These questions are just to get the discussion started. I am working in 
parallel and I'll probably come with others, soon.



Thanks,
Ovidiu








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

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


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to