0 Replies Latest reply on Jan 23, 2006 5:33 AM by dode

    Springframework and ExceptionListener/reconnect

    dode

      Hello,

      I posted a similar question already to the Springframework support forums without success so I wonder if somebody here had/has the same problem:

      In order to reconnect a Springframework based JMS client application after connection failure or cluster failover I want to implement and set an ExceptionListener. I have done that successfully with a plain JMS test client but I have no idea how to do this with Springframework, as it hides the API away from the programmer. I read somewhere that a way to solve that would be to write a ConnectionFactory proxy that takes care of returning only valid connections similar to a connection pool.

      Does anyone have done something like that or can explain me a little bit how this would be done?

      Thanks in advance,
      Torsten