Class 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 Detail

      • PropertyConfigurerSupport

        public PropertyConfigurerSupport()
    • Method Detail

      • 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