Repository: camel Updated Branches: refs/heads/master fd86e2de0 -> 67513554a
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/67513554 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/67513554 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/67513554 Branch: refs/heads/master Commit: 67513554aea5f5c62d3252f9d2cc81219d80c4a9 Parents: fd86e2d Author: Claus Ibsen <[email protected]> Authored: Wed Jun 24 20:44:55 2015 +0200 Committer: Claus Ibsen <[email protected]> Committed: Wed Jun 24 20:44:55 2015 +0200 ---------------------------------------------------------------------- .../src/main/webapp/WEB-INF/applicationContext.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/67513554/tooling/archetypes/camel-archetype-web/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/applicationContext.xml ---------------------------------------------------------------------- diff --git a/tooling/archetypes/camel-archetype-web/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/applicationContext.xml b/tooling/archetypes/camel-archetype-web/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/applicationContext.xml index 2e9525c..1aa4b50 100644 --- a/tooling/archetypes/camel-archetype-web/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/applicationContext.xml +++ b/tooling/archetypes/camel-archetype-web/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/applicationContext.xml @@ -31,7 +31,7 @@ <header>name</header> <!-- yes so return back a message to the user --> <transform> - <simple>Hello ${header.name} how are you?</simple> + <simple>Hi I am ${sysenv.HOSTNAME}. Hello ${header.name} how are you today?</simple> </transform> </when> <otherwise>
