Class ConstantLanguage

  • All Implemented Interfaces:
    org.apache.camel.IsSingleton, org.apache.camel.spi.Language

    @Language("constant")
    public class ConstantLanguage
    extends Object
    implements org.apache.camel.spi.Language, org.apache.camel.IsSingleton
    A language for constant expressions.
    • Constructor Detail

      • ConstantLanguage

        public ConstantLanguage()
    • Method Detail

      • constant

        public static org.apache.camel.Expression constant​(Object value)
      • createPredicate

        public org.apache.camel.Predicate createPredicate​(String expression)
        Specified by:
        createPredicate in interface org.apache.camel.spi.Language
      • createExpression

        public org.apache.camel.Expression createExpression​(String expression)
        Specified by:
        createExpression in interface org.apache.camel.spi.Language
      • isSingleton

        public boolean isSingleton()
        Specified by:
        isSingleton in interface org.apache.camel.IsSingleton