Information Management IBM InfoSphere Master Data Management, Version 11.3

Invoking the notification mechanism to send messages

Procedure

  1. Ensure that the Notification Framework is enabled at the application level. For details on enabling notifications at the application level, see Enabling notifications at the application level.
  2. Choose one of the following:
    • Instantiate the notification object, or,
    • Retrieve an instance using the CommonServicesBroker:
      CommonServicesBroker.newServiceInstance(CommonServicesBroker.NOTIFICATION_TYPE_SERVICE + “myCustom”);
  3. Populate the required fields in the notification object by calling the corresponding setter methods.
  4. Optionally, set the preferred destination by invoking the notification object's addJMSDestination method.
  5. Create a remote object of the NotificationBean session bean.
  6. Invoke the Notify method of the NotificationBean by passing the notification object.


Last updated: 27 June 2014