Package org.acemq.amqp.api
Class PublishingPausedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.acemq.amqp.api.AceMqException
org.acemq.amqp.api.PublishingPausedException
- All Implemented Interfaces:
Serializable
Publishing was paused on this connection, so the message was not sent.
Its own type rather than a generic failure, because a caller wants to tell this apart from a broker rejecting a message. This one means "not now" — the message is fine, the connection is fine, and somebody is in the middle of a cutover. Retrying in a moment is the right response, where retrying a rejected message usually is not.
Nothing was sent. There is no half-published message to reason about.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PublishingPausedException
- Parameters:
message- what was paused and what to do about it
-