Interface NotificationCallback

    • Method Detail

      • 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.