Class AmqpException.AmqpInvalidMessageException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.rabbitmq.client.amqp.AmqpException
com.rabbitmq.client.amqp.AmqpException.AmqpInvalidMessageException
- All Implemented Interfaces:
Serializable
- Enclosing class:
AmqpException
Exception thrown when a message is invalid or violates message format constraints.
This exception is typically thrown when:
- A message exceeds the maximum allowed message size configured on the broker
- A message has an invalid format or structure
- A message violates broker-specific validation rules
Unlike other AMQP exceptions, this exception is often thrown on the client side before the message is sent to the broker, preventing connection or link closure that would occur if the broker rejected the message.
- Since:
- 1.1.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class AmqpException
AmqpException.AmqpConnectionException, AmqpException.AmqpEntityDoesNotExistException, AmqpException.AmqpInvalidMessageException, AmqpException.AmqpMessageRejectedException, AmqpException.AmqpResourceClosedException, AmqpException.AmqpResourceInvalidStateException, AmqpException.AmqpSecurityException -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AmqpInvalidMessageException
-