Interface CamelContextNameStrategy


public interface CamelContextNameStrategy
Strategy for assigning name to a CamelContext.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the name
    Gets the next calculated name, if this strategy is not using fixed names.
    boolean
    Whether the name will be fixed, or allow re-calculation such as by using an unique counter.
  • Method Details

    • getName

      String getName()
      Gets the name

      The isFixedName() determines if the name can be re-calculated such as when using a counter, or the name is always fixed.

      Returns:
      the name.
    • getNextName

      String getNextName()
      Gets the next calculated name, if this strategy is not using fixed names.

      The isFixedName() determines if the name can be re-calculated such as when using a counter, or the name is always fixed.

      Returns:
      the next name
    • isFixedName

      boolean isFixedName()
      Whether the name will be fixed, or allow re-calculation such as by using an unique counter.
      Returns:
      true for fixed names, false for names which can re-calculated