Interface NotificationCallback

All Known Subinterfaces:
TransportBinding
All Known Implementing Classes:
ClientTransportBinding, HostedServiceTransportBinding, NotificationSourceUdpCallback

public interface NotificationCallback
Callback for network bindings to initiate an output-only message exchange.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Callback that is triggered after an interceptor chain succeeded on the outgoing direction.
  • Method Details

    • onNotification

      void onNotification(SoapMessage notification) throws MarshallingException, TransportException
      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.

      Parameters:
      notification - the notification to push.
      Throws:
      TransportException - if any transport-related exception comes up during processing. This will hinder the response from being received.
      MarshallingException - if an error occurs during marshalling or unmarshalling of a SOAP message.