0 Replies Latest reply on Oct 4, 2002 12:30 PM by manish

    How Long Can I cache Queue Connection, session and receiver

    manish Newbie

      Hi
      My servlets need to send messages to queues. For speed, I am creating and caching queue connection, session and sender in the servlet's init() method. The question is will the queue sender or session time out after a couple of days , assumimg the servlet never gets unloaded/reloaded? Is there a way to figure out a connection status before sending a message and trapping exceptions ?

      Regards
      -m