Sun Java System Messaging Server 6.3 Administration Guide

B.1 Loading the ENS Publisher in Messaging Server

The Event Notification Service (ENS) is the underlying publish-and-subscribe service. ENS acts as a dispatcher used by Sun Java System applications as a central point of collection for certain types of events that are of interest to them. Events are changes to the value of one or more properties of a resource. Any application that wants to know when these types of events occur registers with ENS, which identifies events in order and matches notifications with subscriptions.

ENS and iBiff (the ENS publisher for Messaging Server) are bundled starting with Messaging Server. By default ENS is enabled, however, iBIFF is not loaded. (See B.1 Loading the ENS Publisher in Messaging Server.

In order to subscribe to notifications in Messaging Server, you need to load the libibiff file on the Messaging Server host then stop and restart the messaging server.

ProcedureTo Load the ENS Publisher on Messaging Server

Perform the following steps from the command line. In these steps, the location of the Messaging Server installation directory is msg-svr-base, and the Messaging Server user is inetuser. Typical values for these variables are /opt/SUNWmsgsr, and mailsrv, respectively.

  1. As mailsrv, run the configutil utility to load the libibiff file.

    cd msg-svr-base
    ./configutil -o "" -v "msg-svr-base/lib/libibiff"
  2. As root, stop then restart the messaging server.

    cd msg-svr-base/sbin



  3. You are now ready to receive notifications through ENS. See B.2 Running Sample Event Notification Service Programs