Class SpelLanguage

  • All Implemented Interfaces:
    AutoCloseable, org.apache.camel.CamelContextAware, org.apache.camel.IsSingleton, org.apache.camel.Service, org.apache.camel.spi.Language, org.apache.camel.StaticService

    @Language("spel")
    public class SpelLanguage
    extends org.apache.camel.support.TypedLanguageSupport
    implements org.apache.camel.StaticService
    A Spring Expression Language plugin
    • Field Summary

      • Fields inherited from class org.apache.camel.support.LanguageSupport

        RESOURCE
    • Constructor Summary

      Constructors 
      Constructor Description
      SpelLanguage()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.camel.Expression createExpression​(String expression)  
      org.apache.camel.Predicate createPredicate​(String expression)  
      void init()  
      void start()  
      void stop()  
      • Methods inherited from class org.apache.camel.support.TypedLanguageSupport

        createExpression, getResultType, setResultType
      • Methods inherited from class org.apache.camel.support.LanguageSupport

        getCamelContext, hasSimpleFunction, isDynamicResource, isSingleton, isStaticResource, loadResource, property, setCamelContext
      • Methods inherited from interface org.apache.camel.spi.Language

        createPredicate
      • Methods inherited from interface org.apache.camel.Service

        build, close
    • Constructor Detail

      • SpelLanguage

        public SpelLanguage()
    • Method Detail

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

        public void init()
        Specified by:
        init in interface org.apache.camel.Service
      • start

        public void start()
        Specified by:
        start in interface org.apache.camel.Service
      • stop

        public void stop()
        Specified by:
        stop in interface org.apache.camel.Service