Class PropertyConfigurerSupport

java.lang.Object
org.apache.camel.support.component.PropertyConfigurerSupport
Direct Known Subclasses:
AcceptAllHeaderFilterStrategyConfigurer, DefaultExchangeFormatterConfigurer, DefaultHeaderFilterStrategyConfigurer, FileIdempotentRepositoryConfigurer, MemoryIdempotentRepositoryConfigurer, ThrottlingExceptionRoutePolicyConfigurer, ThrottlingInflightRoutePolicyConfigurer

public abstract class PropertyConfigurerSupport extends Object
Base class used by Camel Package Maven Plugin when it generates source code for fast property configurations via PropertyConfigurer.
  • Field Details

    • MAGIC_VALUE

      public static final String MAGIC_VALUE
      A special magic value that are used by tooling such as camel-jbang export
      See Also:
  • Constructor Details

    • PropertyConfigurerSupport

      public PropertyConfigurerSupport()
  • Method Details

    • property

      public static <T> T property(org.apache.camel.CamelContext camelContext, Class<T> type, Object value)
      Converts the property to the expected type
      Parameters:
      camelContext - the camel context
      type - the expected type
      value - the value
      Returns:
      the value converted to the expected type