All Implemented Interfaces:
Serializable

public class UnableToClaimTokenException extends AxonTransientException
Exception indicating that a processor tried to claim a Token (either by retrieving or updating it) that has already been claimed by another process. This typically happens when two processes (JVM's) contain processing with the same name (and potentially the same configuration). In such case, only the first processor can use the TrackingToken.

Processes may retry obtaining the claim, preferably after a brief waiting period.

See Also:
  • Constructor Details

    • UnableToClaimTokenException

      public UnableToClaimTokenException(String message)
      Initialize the exception with given message.
      Parameters:
      message - The message describing the exception
    • UnableToClaimTokenException

      public UnableToClaimTokenException(String message, Throwable cause)
      Initialize the exception with given message and cause.
      Parameters:
      message - The message describing the exception
      cause - The cause of the failure