Interface Committable

    • Method Detail

      • getName

        String getName()
        Get the committable name
      • openTransaction

        void openTransaction()
        Lock the destination for transactional update
      • closeTransaction

        void closeTransaction()
        Unlock the destination for transactional update
      • commitChanges

        void commitChanges()
                    throws javax.jms.JMSException
        Commit all changes (make sure they are really applied)
        Throws:
        javax.jms.JMSException
      • commitChanges

        void commitChanges​(SynchronizationBarrier barrier)
                    throws javax.jms.JMSException
        Commit all changes (make sure they are really applied) (ASYNCHRONOUS)
        Parameters:
        barrier - a synchronization barrier
        Throws:
        javax.jms.JMSException