Class FailedToCreateProducerException

All Implemented Interfaces:
Serializable

public class FailedToCreateProducerException extends RuntimeCamelException
Thrown when an Endpoint cannot produce a Producer, for example because the endpoint URI is not producer-capable, required options are missing, or an underlying client connection cannot be opened.

The originating endpoint URI is sanitized (credentials removed) before being included in the message.

See Also:
  • Constructor Details

    • FailedToCreateProducerException

      public FailedToCreateProducerException(Endpoint endpoint, Throwable cause)
      Parameters:
      endpoint - the endpoint for which producer creation failed
      cause - the cause of the failure
  • Method Details

    • getUri

      public String getUri()