Repository: camel Updated Branches: refs/heads/master 55da6ced1 -> fd86e2de0
Include hostname in the Camel Tomcat examples so if you try this on different hosts its easier to see the example actually runs where Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/fd86e2de Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/fd86e2de Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/fd86e2de Branch: refs/heads/master Commit: fd86e2de07653ec7a3e88c6d7d44d6496f9b5cde Parents: 55da6ce Author: Claus Ibsen <davscl...@apache.org> Authored: Wed Jun 24 20:33:39 2015 +0200 Committer: Claus Ibsen <davscl...@apache.org> Committed: Wed Jun 24 20:33:39 2015 +0200 ---------------------------------------------------------------------- .../src/main/resources/camel-config.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/fd86e2de/examples/camel-example-servlet-tomcat/src/main/resources/camel-config.xml ---------------------------------------------------------------------- diff --git a/examples/camel-example-servlet-tomcat/src/main/resources/camel-config.xml b/examples/camel-example-servlet-tomcat/src/main/resources/camel-config.xml index 4d8058e..cb07609 100755 --- a/examples/camel-example-servlet-tomcat/src/main/resources/camel-config.xml +++ b/examples/camel-example-servlet-tomcat/src/main/resources/camel-config.xml @@ -35,7 +35,7 @@ <header>name</header> <!-- yes so return back a message to the user --> <transform> - <simple>Hello ${header.name} how are you? You are from: ${sys.user.country}</simple> + <simple>Hi I am ${sysenv.HOSTNAME}. Hello ${header.name} how are you today?</simple> </transform> </when> <otherwise>