Class FailedToStartComponentException

All Implemented Interfaces:
Serializable

public class FailedToStartComponentException extends RuntimeCamelException
Thrown when a Component fails to start as part of the CamelContext startup sequence.

Carries the component name so the error message points at the offending component (typically the URI scheme used in route DSL, e.g. kafka, http).

Since:
3.9
See Also:
  • Constructor Details

    • FailedToStartComponentException

      public FailedToStartComponentException(String componentName, String message, Throwable cause)
      Parameters:
      componentName - the name of the component that failed to start
      message - the detail message describing the failure
      cause - the cause of the failure
  • Method Details

    • getComponentName

      public String getComponentName()