Class DefaultCommitHandler

  • All Implemented Interfaces:
    Handler<ServerFrame>

    public class DefaultCommitHandler
    extends Object
    implements Handler<ServerFrame>
    STOMP compliant actions executed when receiving a COMMIT frame. All frames that are part of the transactions are processed (ACK/NACK and SEND frames). If the COMMIT frame defines a receipt, the RECEIPT frame is sent once all frames have been replayed.

    This handler is thread safe.

    Author:
    Clement Escoffier
    • Constructor Detail

      • DefaultCommitHandler

        public DefaultCommitHandler()
    • Method Detail

      • handle

        public void handle​(ServerFrame serverFrame)
        Description copied from interface: Handler
        Something has happened, so handle it.
        Specified by:
        handle in interface Handler<ServerFrame>
        Parameters:
        serverFrame - the event to handle