Class ApplicationContextMigratorUtil


  • public class ApplicationContextMigratorUtil
    extends Object
    • Constructor Detail

      • ApplicationContextMigratorUtil

        public ApplicationContextMigratorUtil()
    • Method Detail

      • addApplicationContextMigrator

        public static void addApplicationContextMigrator​(ConfigurationContext configurationContext,
                                                         String contextMigratorListID,
                                                         ApplicationContextMigrator migrator)
        Register a new ContextPropertyMigrator.
        Parameters:
        configurationContext -
        contextMigratorListID - The name of the property in the ConfigurationContext that contains the list of migrators.
        migrator -
      • performMigrationToMessageContext

        public static void performMigrationToMessageContext​(String contextMigratorListID,
                                                            Map<String,​Object> requestContext,
                                                            MessageContext messageContext)
        Parameters:
        contextMigratorListID -
        requestContext -
        messageContext -
      • performMigrationFromMessageContext

        public static void performMigrationFromMessageContext​(String contextMigratorListID,
                                                              Map<String,​Object> responseContext,
                                                              MessageContext messageContext)
        Parameters:
        contextMigratorListID -
        responseContext -
        messageContext -