-
1. Re: JMS Facade: delegates and containers
adrian.brock Feb 2, 2005 9:41 AM (in response to ovidiu.feodorov)That implementation was incomplete. It was also based on an older version of
Bill's interceptors/proxy.
1) JMSException and log interceptors can be perVM in current aspect speak they
hold not state.
CloseInterceptor needs to be perInstance since it holds the flag as to whether
the object is closing/closed.
2) IIRC, I had most of the object construction (except for the inital implementation object
that was inside the ConnectionFactory bound into jndi) in the factory interceptor.
3) I only got as far as sending/receiving non-persistent messages.
I don't think I even committed the receiving messages processing?
I just wanted something to test the backend server and that the approach worked.
Although the approach worked, I wouldn't do it exactly the way I did it in the
prototype. There was a lot of hardwiring where I left some of the problems
(like external interceptor stack configuration) until later.