1 Reply Latest reply on Sep 11, 2013 2:33 PM by Todd Little-Oracle

    MessageQ keep-alive. Info about client disconnect




      I'm using BEA MEssageQ to recieve messages from clients. But i need information if client is disconnected. Is there any keep-alive mechanism which tell me if client disconnected. Or maybe there is a message to check if client is connected?

        • 1. Re: MessageQ keep-alive. Info about client disconnect
          Todd Little-Oracle



          I asked one of the developers and got this response:


          Actually OMQ has no pre-defined keep alive mechanism.  OMQ is always accept the requests from clients passively, it cannot check the connectivity of client automatically.

          OMQ can provide information about the status of the queue that the client attaches. If you can accept the hypothesis that client is connected if the its primary queue is attached, then one possible solution for your request may be: create an application which registers to receive availability (attached/detached) messages of the target queue from local Avail Server process. If the queue is available/attached, it means the corresponding client is connected. And if the queue is unavailable/detached, it means the corresponding client is disconnected.



          Todd Little

          Oracle Tuxedo Chief  Architect