Class ExchangeTimedOutException

All Implemented Interfaces:
Serializable

public class ExchangeTimedOutException extends CamelExchangeException
An exception thrown if an InOut exchange times out receiving the OUT message
See Also:
  • Constructor Details

    • ExchangeTimedOutException

      public ExchangeTimedOutException(@Nullable Exchange exchange, long timeout)
      Parameters:
      exchange - the exchange that caused the error
      timeout - the timeout in milliseconds that expired
    • ExchangeTimedOutException

      public ExchangeTimedOutException(@Nullable Exchange exchange, long timeout, String message)
      Parameters:
      exchange - the exchange that caused the error
      timeout - the timeout in milliseconds that expired
      message - the detail message
  • Method Details

    • getTimeout

      public long getTimeout()
      Return the timeout which expired in milliseconds