Uploaded image for project: 'Spring Integration'
  1. Spring Integration
  2. INT-2830

Refactor MessageGroupStore and its Callback to Avoid Class Cycle

    XMLWordPrintable

    Details

    • Type: Refactoring
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 2.2 RC2
    • Fix Version/s: 3.0 M1
    • Component/s: None
    • Labels:

      Description

      Make the callback an inner interface

      public interface MessageGroupStore {
      
      ...
      	void registerMessageGroupExpiryCallback(MessageGroupCallback callback);
      ...
      
      	public static interface MessageGroupCallback {
      
      		void execute(MessageGroupStore messageGroupStore, MessageGroup group);
      
      	}
      
      }
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              grussell Gary Russell
              Reporter:
              grussell Gary Russell
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: