org.apache.camel
Class Expressions
java.lang.Object
org.apache.camel.Expressions
public class Expressions
- extends Object
- Version:
- $Revision: $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Expressions
public Expressions()
headerExpression
public static <E extends Exchange> Expression<E> headerExpression(String headerName)
- Returns an expression for the header value with the given name
- Parameters:
headerName
- the name of the header the expression will return
- Returns:
- an expression object which will return the header value
constantExpression
public static <E extends Exchange> Expression<E> constantExpression(Object value)
- Returns an expression for the contant value
- Parameters:
value
- the value the expression will return
- Returns:
- an expression object which will return the constant value
Copyright © 2007 Apache Software Foundation. All Rights Reserved.