Class MessageAlreadyEnqueuedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.onenetwork.platform.integ.msg.MessageQueueServiceException
com.onenetwork.platform.integ.msg.MessageAlreadyEnqueuedException
All Implemented Interfaces:
java.io.Serializable

public class MessageAlreadyEnqueuedException
extends MessageQueueServiceException
Thrown in the event when the message is already enqueued - in other words, there is already a Message with the same Sender and Id stored in the system.

This is important in the context of guaranteed delivery, where we want to ensure that a Message is delivered once and only once.

See Also:
Serialized Form
  • Constructor Summary

    Constructors 
    Constructor Description
    MessageAlreadyEnqueuedException​(java.lang.String message)  
  • Method Summary

    Methods inherited from class java.lang.Throwable

    addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait