Class NotificationSourceUdpCallback

java.lang.Object
org.somda.sdc.dpws.helper.NotificationSourceUdpCallback
All Implemented Interfaces:
NotificationCallback

public class NotificationSourceUdpCallback extends Object implements NotificationCallback
Marshall SoapMessage and distribute them via UdpMessageQueueService.

NotificationSourceUdpCallback implements NotificationCallback and is intended to be used by a NotificationSource instance to be connected with a UdpMessageQueueService.

  • Method Details

    • onNotification

      public void onNotification(SoapMessage notification) throws MarshallingException
      Description copied from interface: NotificationCallback
      Callback that is triggered after an interceptor chain succeeded on the outgoing direction.

      As notifications are handled as fire and forget, no faults and answers are accepted.

      todo DGr may accept SOAP faults for better error analysis.

      Specified by:
      onNotification in interface NotificationCallback
      Parameters:
      notification - the notification to push.
      Throws:
      MarshallingException - if an error occurs during marshalling or unmarshalling of a SOAP message.