anonymous wrote : In the JBoss 4.0 messaging implementation, the client stack gets created in the FactoryInterceptor on the client side. | I was just wondering why it's been chosen to create the client interceptor stack on the server side and passing it back to the client, rather than use a client side factory interceptor to do this?
A practical reason: the interceptor configuration for each client-side container (Connection, Session, Producer) is specified in the server-side configuration file (jms-aop.xml). This file is part of the server configuration. In order to create the interceptor stacks - and the proxies - on the client side, I would have had to send somehow the interceptor configuration on the client, which is unnecessary. Currently I am sending directly the proxy. This approach is consistent with the way the ConnectionFactory proxy is created. anonymous wrote : Also I wasn't sure how the SessionDelegate proxy created in the ServerConnectionDelegate.createSessionDelegate() method gets back to the client side since it doesn't seem to be serializable. It is serializable. If you look at the client-side interceptors, all of them are serializable. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3872284#3872284 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3872284 ------------------------------------------------------- This SF.net email is sponsored by Demarc: A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today! http://www.demarc.com/info/Sentarus/hamr30 _______________________________________________ JBoss-Development mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-development
