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
    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:

    JOLT event subscription and notification usage is provided here:

    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


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