Class KafkaSendFailureException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.messaging.MessagingException
org.springframework.integration.kafka.support.KafkaSendFailureException
- All Implemented Interfaces:
- Serializable
An exception that is the payload of an 
ErrorMessage when a send fails.- Since:
- 5.4
- Author:
- Gary Russell
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionKafkaSendFailureException(Message<?> message, org.apache.kafka.clients.producer.ProducerRecord<?, ?> record, Throwable cause) 
- 
Method SummaryMethods inherited from class org.springframework.messaging.MessagingExceptiongetFailedMessageMethods inherited from class org.springframework.core.NestedRuntimeExceptioncontains, getMostSpecificCause, getRootCauseMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
- 
Constructor Details- 
KafkaSendFailureException
 
- 
- 
Method Details- 
getRecordpublic org.apache.kafka.clients.producer.ProducerRecord<?,?> getRecord()
- 
toString- Overrides:
- toStringin class- MessagingException
 
 
-