Class AfterCompletionFailedException

  • All Implemented Interfaces:
    Serializable

    public class AfterCompletionFailedException
    extends AmqpException
    Represents a failure to commit or rollback when performing afterCompletion after the primary transaction completes.
    Since:
    2.4
    Author:
    Gary Russell
    See Also:
    Serialized Form
    • Constructor Detail

      • AfterCompletionFailedException

        public AfterCompletionFailedException​(int syncStatus,
                                              Throwable cause)
        Construct an instance with the provided properties.
        Parameters:
        syncStatus - the synchronization status.
        cause - the cause.
    • Method Detail

      • getSyncStatus

        public int getSyncStatus()
        Return the synchronization status.
        Returns:
        the status.