Class PropertyConfigurerSupport

java.lang.Object
org.apache.camel.support.component.PropertyConfigurerSupport
Direct Known Subclasses:
DefaultExchangeFormatterConfigurer

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.
  • 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