Class SingleInputLanguageSupport

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

    public abstract class SingleInputLanguageSupport
    extends LanguageSupport
    Base class for Language implementations that support different sources of input data.
    • Constructor Detail

      • SingleInputLanguageSupport

        public SingleInputLanguageSupport()
    • Method Detail

      • getHeaderName

        public String getHeaderName()
      • setHeaderName

        public void setHeaderName​(String headerName)
        Name of header to use as input, instead of the message body
      • getPropertyName

        public String getPropertyName()
      • setPropertyName

        public void setPropertyName​(String propertyName)
        Name of property to use as input, instead of the message body.

        It has a lower precedent than the name of header if both are set.