Class CamelExecutionException

All Implemented Interfaces:
Serializable

public class CamelExecutionException extends RuntimeExchangeException
Exception occurred during execution/processing of an Exchange.

Is usually thrown to the caller when using the ProducerTemplate to send messages to Camel.

See Also:
  • Constructor Details

    • CamelExecutionException

      public CamelExecutionException(String message, @Nullable Exchange exchange)
      Parameters:
      message - the detail message
      exchange - the exchange that caused the error
    • CamelExecutionException

      public CamelExecutionException(String message, @Nullable Exchange exchange, Throwable cause)
      Parameters:
      message - the detail message
      exchange - the exchange that caused the error
      cause - the cause of the failure
  • Method Details