This is an automated email from the ASF dual-hosted git repository.
coheigea pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push:
new 2a0ba7d Fixing ssh examples
2a0ba7d is described below
commit 2a0ba7d185df562884dea0803c0c911196b826d2
Author: Colm O hEigeartaigh <[email protected]>
AuthorDate: Thu Jan 31 17:12:05 2019 +0000
Fixing ssh examples
---
examples/camel-example-ssh-security/README.md | 2 +-
.../src/main/resources/META-INF/spring/camelContext.xml | 2 +-
.../src/main/resources/META-INF/feature/features.xml | 2 +-
.../src/main/resources/META-INF/spring/camelContext.xml | 4 ++--
4 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/examples/camel-example-ssh-security/README.md
b/examples/camel-example-ssh-security/README.md
index 9051ee2..57fedc7 100644
--- a/examples/camel-example-ssh-security/README.md
+++ b/examples/camel-example-ssh-security/README.md
@@ -50,7 +50,7 @@ For this example you will need to add a new user `scott` with
the key value from
Append the following to the `<karaf_home>/etc/keys.properties` file
-
scott=AAAAB3NzaC1yc2EAAAADAQABAAABAQC4MSqXneGVM9n3Rnqfya0D31crTx+J8X8dKZ5/+2Rq96/klnmt6uGyl+DI8G0HXVK66KqU2Z0qUE9ytOMR+zSPA+zU4Bhd3G82qdJsys7Nz8t9wSWQs8/ItWTjwg+b3vVLcI1Q8sSgfxqZvD/XQk4srbDs9ba55yjEPn5DOhA7UFbFAv8menSgbpNFMrUQQ9DJcMVlu3MOcMylI5UFFf1uvDD3vUoFXZa6GQOK9j1AGvfagGgBEqV4/AiKzDmQDFqMzmTfTfBpi1crY0SGXdT26PE4Knx7KP7bBJupBm6lJ9Pk39iw8dnDWcq45EEqrHsI0dps7/iQgYxYqBmFLIkP,admin
+
scott=AAAAB3NzaC1yc2EAAAADAQABAAABAQC4MSqXneGVM9n3Rnqfya0D31crTx+J8X8dKZ5/+2Rq96/klnmt6uGyl+DI8G0HXVK66KqU2Z0qUE9ytOMR+zSPA+zU4Bhd3G82qdJsys7Nz8t9wSWQs8/ItWTjwg+b3vVLcI1Q8sSgfxqZvD/XQk4srbDs9ba55yjEPn5DOhA7UFbFAv8menSgbpNFMrUQQ9DJcMVlu3MOcMylI5UFFf1uvDD3vUoFXZa6GQOK9j1AGvfagGgBEqV4/AiKzDmQDFqMzmTfTfBpi1crY0SGXdT26PE4Knx7KP7bBJupBm6lJ9Pk39iw8dnDWcq45EEqrHsI0dps7/iQgYxYqBmFLIkP,_g_:admingroup
diff --git
a/examples/camel-example-ssh-security/src/main/resources/META-INF/spring/camelContext.xml
b/examples/camel-example-ssh-security/src/main/resources/META-INF/spring/camelContext.xml
index 4651d9c..c1d58a6 100644
---
a/examples/camel-example-ssh-security/src/main/resources/META-INF/spring/camelContext.xml
+++
b/examples/camel-example-ssh-security/src/main/resources/META-INF/spring/camelContext.xml
@@ -32,7 +32,7 @@
<camelContext id="camel-example-ssh-security-context"
xmlns="http://camel.apache.org/schema/spring">
<route id="camel-example-ssh-consumer-secure" autoStartup="true">
- <from
uri="ssh://scott@localhost:8101?certResource=classpath:test_rsa&useFixedDelay=true&delay=5000&pollCommand=features:list%0A"/>
+ <from
uri="ssh://scott@localhost:8101?certResource=classpath:test_rsa&useFixedDelay=true&delay=5000&pollCommand=feature:list%0A"/>
<log message="${body}"/>
</route>
</camelContext>
diff --git
a/examples/camel-example-ssh/src/main/resources/META-INF/feature/features.xml
b/examples/camel-example-ssh/src/main/resources/META-INF/feature/features.xml
index d4e2e0b..d814df2 100644
---
a/examples/camel-example-ssh/src/main/resources/META-INF/feature/features.xml
+++
b/examples/camel-example-ssh/src/main/resources/META-INF/feature/features.xml
@@ -26,6 +26,6 @@
<feature name="camel-example-ssh" version="${project.version}">
<feature version="${project.version}">camel-ssh</feature>
<feature version="${project.version}">camel-spring</feature>
-
<bundle>mvn:org.apache.camel.examples/camel-example-ssh/${project.version}</bundle>
+
<bundle>mvn:org.apache.camel.example/camel-example-ssh/${project.version}</bundle>
</feature>
</features>
diff --git
a/examples/camel-example-ssh/src/main/resources/META-INF/spring/camelContext.xml
b/examples/camel-example-ssh/src/main/resources/META-INF/spring/camelContext.xml
index d6f9e8f..6b72dae 100644
---
a/examples/camel-example-ssh/src/main/resources/META-INF/spring/camelContext.xml
+++
b/examples/camel-example-ssh/src/main/resources/META-INF/spring/camelContext.xml
@@ -31,14 +31,14 @@
-->
<camelContext id="camel-example-ssh"
xmlns="http://camel.apache.org/schema/spring">
<route id="camel-example-ssh-consumer">
- <from
uri="ssh://karaf:karaf@localhost:8101?useFixedDelay=true&delay=5000&pollCommand=features:list%0A"/>
+ <from
uri="ssh://karaf:karaf@localhost:8101?useFixedDelay=true&delay=5000&pollCommand=feature:list%0A"/>
<log message="${body}"/>
</route>
<route id="camel-example-ssh-producer">
<from uri="direct:exampleSshProducer"/>
<setBody>
- <constant>features:list </constant>
+ <constant>feature:list </constant>
</setBody>
<to uri="ssh://karaf:karaf@localhost:8101"/>
<log message="${body}"/>