This discussion is archived
1 Reply Latest reply: Aug 7, 2012 3:34 PM by BobFinan - Oracle RSS

Asynchronous callback of OnReply from server to client via JSL

user767494 Newbie
Currently Being Moderated
I have a basic question, on how Asynchronous notification works with jolt client (jolt.jar), and Tuxedo server via JSL.

When an event is posted in server, how does server performs a call back on java client, Jolt Session onReply function. How does the server routes Jolt event notification from server to client via JSL/JSH over Jolt Relay Adapter (JRAD).

-----------------------------------------------------
Using the Jolt API to Receive BEA Tuxedo Notifications

class EventSession extends JoltSession{  
...
public void onReply( JoltReply reply ) {   

// who calls me?

}
-----------------------------------------------------

Edited by: user767494 on Aug 6, 2012 11:41 AM
  • 1. Re: Asynchronous callback of OnReply from server to client via JSL
    BobFinan - Oracle Journeyer
    Currently Being Moderated
    Hello,
    Not sure of the depth of the question you have but the following will provide some general background:

    The JRLY and JRAD (aka the "JOLT Relay")are transparent to JOLT client and servers:
    http://docs.oracle.com/cd/E26665_01/tuxedo/docs11gr1/jdg/dvconfig.html#wp104233

    JOLT event subscription and notification usage is provided here:
    http://docs.oracle.com/cd/E26665_01/tuxedo/docs11gr1/jdg/dvlibrary.html#wp1012983

    Note:
    1)The above doc specifies that onReply() must be overridden to handle solicited and/or un-solicted event notifications.
    2)The connection-less and connection-retained modes mentioned in the above doc effect the sending of notifications.
    The JSL can define the mode (using -j RECONNECT/RETAINED and -T idletimeout) or if JSL -j ANY is used then clients can define the mode(enabling IDLETIMEOUT,setting==#, or disabling IDLETIMEOUT by setting==0)

    Hope this helps,
    Bob Finan

Legend

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