Class AfterCompletionFailedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.amqp.AmqpException
org.springframework.amqp.rabbit.connection.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:
  • Constructor Details

    • AfterCompletionFailedException

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

    • getSyncStatus

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