Class MessageSendingTransactionSynchronization

java.lang.Object
org.springframework.transaction.support.TransactionSynchronizationAdapter
org.kuali.rice.ksb.messaging.serviceproxies.MessageSendingTransactionSynchronization
All Implemented Interfaces:
Flushable, org.springframework.core.Ordered, org.springframework.transaction.support.TransactionSynchronization

public class MessageSendingTransactionSynchronization extends org.springframework.transaction.support.TransactionSynchronizationAdapter
Sends message when current transaction commits.
Author:
Kuali Rice Team (rice.collab@kuali.org)
  • Field Summary

    Fields inherited from interface org.springframework.core.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE

    Fields inherited from interface org.springframework.transaction.support.TransactionSynchronization

    STATUS_COMMITTED, STATUS_ROLLED_BACK, STATUS_UNKNOWN
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    afterCompletion(int status)
     
    int
     

    Methods inherited from class org.springframework.transaction.support.TransactionSynchronizationAdapter

    afterCommit, beforeCommit, beforeCompletion, flush, resume, suspend

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MessageSendingTransactionSynchronization

      public MessageSendingTransactionSynchronization(PersistedMessageBO message)
  • Method Details

    • afterCompletion

      public void afterCompletion(int status)
      Specified by:
      afterCompletion in interface org.springframework.transaction.support.TransactionSynchronization
      Overrides:
      afterCompletion in class org.springframework.transaction.support.TransactionSynchronizationAdapter
    • getOrder

      public int getOrder()
      Specified by:
      getOrder in interface org.springframework.core.Ordered
      Specified by:
      getOrder in interface org.springframework.transaction.support.TransactionSynchronization
      Overrides:
      getOrder in class org.springframework.transaction.support.TransactionSynchronizationAdapter