beautypg.com

Event subscription – HP NonStop G-Series User Manual

Page 26

background image

A Repository file, jrepository, is available with Jolt 1.1. This file includes bankapp services and the Repository
services that you can modify, test, and delete using the Repository Editor.

Start with the jrepository file provided with the installation, even if you are not going to test the bankapp
application with Jolt. Delete the bankapp packages or services that are not needed.

The pathname of the file must match the argument of the -P option.

WARNING

Do not modify the Repository files manually or you will not be able to use the Repository
Editor. Although the jrepository file can be modified and read with any text editor, the Jolt
system does not have integrity checks to ensure that the file is in the proper format. Any
manual changes to the jrepository file may not be detected until runtime. See

Section 5,

Using the Jolt Repository Editor

for additional information.

Initializing Services Using TUXEDO and the Repository Editor

You must initially define the TUXEDO services using TUXEDO and Jolt in order to make the Jolt services
available to the client.

Build the TUXEDO server containing the service. See the NonStop TUXEDO Administration Guide or
NonStop TUXEDO Programming Guide for additional information on the following:

Building the TUXEDO applications/server

Editing the UBBCONFIG file

Updating the TUXCONFIG file

Administering the tmboot command

1.

Access the Jolt Repository Editor. See

Section 5, Using the Jolt Repository Editor

for additional

information on the following:

Adding a Service

Saving Your Work

Testing a Service

Exporting/Unexporting Services

2.

Event Subscription

Jolt Event Subscription is used to receive event notifications from either TUXEDO services or other TUXEDO
clients:

Unsolicited Event Notifications. These are notifications that a Jolt client receives as a result of a TUXEDO
client or service subscribing to unsolicited events, and a TUXEDO client issuing broadcast (using either a
tpbroadcast() or a directly targeted message via a tpnotify() ATMI call).

Brokered Event Notifications. These notifications are received by a Jolt client via the TUXEDO Event
Broker. The notifications are only received when both Jolt clients subscribes to an event and any TUXEDO
client or server issues system posted event or a tppost() call.