public class ExchangePropertyLanguage extends Object implements Language, IsSingleton
Constructor and Description |
---|
ExchangePropertyLanguage() |
Modifier and Type | Method and Description |
---|---|
Expression |
createExpression(String expression)
Creates an expression based on the given string input
|
Predicate |
createPredicate(String expression)
Creates a predicate based on the given string input
|
static Expression |
exchangeProperty(String propertyName) |
boolean |
isSingleton()
Whether this class supports being singleton or not.
|
static Expression |
property(String propertyName)
Deprecated.
use
exchangeProperty(String) instead |
public ExchangePropertyLanguage()
@Deprecated public static Expression property(String propertyName)
exchangeProperty(String)
insteadpublic static Expression exchangeProperty(String propertyName)
public Predicate createPredicate(String expression)
Language
createPredicate
in interface Language
expression
- the expressionpublic Expression createExpression(String expression)
Language
createExpression
in interface Language
expression
- the expression as a string inputpublic boolean isSingleton()
IsSingleton
isSingleton
in interface IsSingleton
Apache Camel