Interface DumpRoutesStrategy

All Superinterfaces:
AutoCloseable, Service, StaticService

public interface DumpRoutesStrategy extends StaticService
Strategy for dumping routes during startup dump all loaded routes (incl rests and route templates).
  • Field Details

  • Method Details

    • dumpRoutes

      void dumpRoutes(String format)
      Dump routes
      Parameters:
      format - xml or yaml
    • getInclude

      String getInclude()
    • setInclude

      void setInclude(String include)
      Controls what to include in output. Possible values: all, routes, rests, routeConfigurations, routeTemplates, beans, dataFormats. Multiple values can be separated by comma. Default is routes.
    • isResolvePlaceholders

      boolean isResolvePlaceholders()
    • setResolvePlaceholders

      void setResolvePlaceholders(boolean resolvePlaceholders)
      Whether to resolve property placeholders in the dumped output. Default is true.
    • isUriAsParameters

      boolean isUriAsParameters()
    • setUriAsParameters

      void setUriAsParameters(boolean uriAsParameters)
      When dumping to YAML format, then this option controls whether endpoint URIs should be expanded into a key/value parameters.
    • isGeneratedIds

      boolean isGeneratedIds()
    • setGeneratedIds

      void setGeneratedIds(boolean generatedIds)
      Whether to include auto generated IDs in the dumped output. Default is false.
    • isLog

      boolean isLog()
    • setLog

      void setLog(boolean log)
      Whether to log route dumps to Logger
    • getOutput

      String getOutput()
    • setOutput

      void setOutput(String output)
      Whether to save route dumps to an output file. If the output is a filename, then all content is saved to this file. If the output is a directory name, then one or more files are saved to the directory, where the names are based on the original source file names, or auto generated names.