Polished. This fixes #1890
Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/dc4f20b3 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/dc4f20b3 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/dc4f20b3 Branch: refs/heads/master Commit: dc4f20b30ac77cafe89242fbfc983ec860677608 Parents: cc1037e Author: Claus Ibsen <davscl...@apache.org> Authored: Mon Aug 21 07:24:23 2017 +0200 Committer: Claus Ibsen <davscl...@apache.org> Committed: Mon Aug 21 07:24:23 2017 +0200 ---------------------------------------------------------------------- camel-core/src/main/docs/simple-language.adoc | 1 + .../main/java/org/apache/camel/language/simple/SimpleLanguage.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/dc4f20b3/camel-core/src/main/docs/simple-language.adoc ---------------------------------------------------------------------- diff --git a/camel-core/src/main/docs/simple-language.adoc b/camel-core/src/main/docs/simple-language.adoc index c8e428c..0667746 100644 --- a/camel-core/src/main/docs/simple-language.adoc +++ b/camel-core/src/main/docs/simple-language.adoc @@ -221,6 +221,7 @@ exceptions (`Exchange.EXCEPTION_CAUGHT`) if the Exchange has any. Supported commands are: *now* for current timestamp, *in.header.xxx* or *header.xxx* to use the Date object in the IN header with the key xxx. *out.header.xxx* to use the Date object in the OUT header with the key xxx. +*property.xxx* to use the Date object in the exchange property with the key xxx. *file* for the last modified timestamp of the file (available with a File consumer). Command accepts offsets such as: *now-24h* or *in.header.xxx+1h* or even *now+1h30m-100*. http://git-wip-us.apache.org/repos/asf/camel/blob/dc4f20b3/camel-core/src/main/java/org/apache/camel/language/simple/SimpleLanguage.java ---------------------------------------------------------------------- diff --git a/camel-core/src/main/java/org/apache/camel/language/simple/SimpleLanguage.java b/camel-core/src/main/java/org/apache/camel/language/simple/SimpleLanguage.java index 4685503..94f952e 100644 --- a/camel-core/src/main/java/org/apache/camel/language/simple/SimpleLanguage.java +++ b/camel-core/src/main/java/org/apache/camel/language/simple/SimpleLanguage.java @@ -56,7 +56,7 @@ import org.slf4j.LoggerFactory; * Supported commands are: <tt>now</tt> for current timestamp, * <tt>in.header.xxx</tt> or <tt>header.xxx</tt> to use the Date object in the in header. * <tt>out.header.xxx</tt> to use the Date object in the out header. - * <tt>property.xxx</tt> to use the Date object in the out header. + * <tt>property.xxx</tt> to use the Date object in the exchange property. * <tt>file</tt> for the last modified timestamp of the file (available with a File consumer). * Command accepts offsets such as: <tt>now-24h</tt> or <tt>in.header.xxx+1h</tt> or even <tt>now+1h30m-100</tt>. * </li>