camel git commit: Include hostname in the Camel Tomcat examples so if you try this on different hosts its easier to see the example actually runs where

2015-06-24 Thread davsclaus
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 @@
   headername/header
   !-- yes so return back a message to the user --
   transform
-simpleHello ${header.name} how are you? You are from: 
${sys.user.country}/simple
+simpleHi I am ${sysenv.HOSTNAME}. Hello ${header.name} how are 
you today?/simple
   /transform
 /when
 otherwise



camel git commit: Include hostname in the Camel Tomcat examples so if you try this on different hosts its easier to see the example actually runs where

2015-06-24 Thread davsclaus
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 davscl...@apache.org
Authored: Wed Jun 24 20:44:55 2015 +0200
Committer: Claus Ibsen davscl...@apache.org
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 @@
   headername/header
   !-- yes so return back a message to the user --
   transform
-simpleHello ${header.name} how are you?/simple
+ simpleHi I am ${sysenv.HOSTNAME}. Hello ${header.name} how are 
you today?/simple
   /transform
 /when
 otherwise