This discussion is archived
1 Reply Latest reply: Sep 11, 2013 7:33 AM by Todd Little RSS

MessageQ keep-alive. Info about client disconnect

5a42f186-cc5e-4c21-937a-c9f125643e9c Newbie
Currently Being Moderated



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 Expert
    Currently Being Moderated



    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


  • Correct Answers - 10 points
  • Helpful Answers - 5 points