-
1. Re: JMS Auto-Reconnect Problem?
blulas Nov 3, 2003 2:36 PM (in response to blulas)As a follow up question, is there a way for me to intercept the disconnection/reconnections and decide on processing myself rather than let the client do so? Some sort of listener?
-
2. Re: JMS Auto-Reconnect Problem?
adrian.brock Nov 4, 2003 5:47 AM (in response to blulas)You can install your own interceptor in the Invoker stack.
See JMSServerInterceptor.
The first invocation will be "authenticate", the close will
be "connectionClosing"
Regards,
Adrian -
3. Re: JMS Auto-Reconnect Problem?
blulas Nov 4, 2003 1:07 PM (in response to blulas)Great, that was exactly what I was looking for. Can you point me in the right direction as far as an example or description of how to do this? I can find this in the PDF documentation anywhere and the only other place I could find something was in a clustering thread.
Thanks for the help! -
4. Re: JMS Auto-Reconnect Problem?
adrian.brock Nov 4, 2003 1:20 PM (in response to blulas)Extend this interceptor
http://cvs.sourceforge.net/viewcvs.py/jboss/jbossmq/src/main/org/jboss/mq/server/JMSServerInterceptorSupport.java?annotate=1.1.4.1
to interceptor the methods required.
Install it in the invoker stack, see the TraceInterceptor in
jbossmq-service.xml for example.
Regards,
Adrian