This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot-examples.git


The following commit(s) were added to refs/heads/main by this push:
     new d2bd922  CAMEL-18048 Webhook Spring Boot example update information on 
creating localhost tunnel (#55)
d2bd922 is described below

commit d2bd9227692c3c8378b2c2811e39c6e7d4f96241
Author: Zineb BENDHIBA <bendhiba.zi...@gmail.com>
AuthorDate: Mon May 9 22:01:18 2022 +0200

    CAMEL-18048 Webhook Spring Boot example update information on creating 
localhost tunnel (#55)
---
 webhook/readme.adoc                               | 14 +++++++-------
 webhook/src/main/resources/application.properties |  4 ++--
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/webhook/readme.adoc b/webhook/readme.adoc
index 99d9665..c1805f0 100644
--- a/webhook/readme.adoc
+++ b/webhook/readme.adoc
@@ -25,20 +25,20 @@ 
camel.component.telegram.authorization-token=<put-here-your-token>
 In order to use this example from a standard workstation machine, you need it 
to be exposed to the internet, for the Telegram servers to be
 able to contact it. Moreover, Telegram requires that the endpoint is exposed 
using *HTTPS*.
 
-The best way to expose your workstation through a internet HTTPS endpoint is 
using some tunneling tool, like 
link:https://github.com/localtunnel/localtunnel[localtunnel] or 
link:https://serveo.net/[Serveo].
+The best way to expose your workstation through a internet HTTPS endpoint is 
using some tunneling tool, like 
link:https://github.com/localtunnel/localtunnel[localtunnel].
 A more popular option is link:https://ngrok.com/[Ngrok] but HTTPS endpoints 
currently require a paid subscription.
 
-With Serveo, you can run in a terminal the following command:
+With localtunnel, you can run in a terminal the following command:
 
 ----
-ssh -R 80:localhost:8080 serveo.net
+npx localtunnel --port 8080
 ----
 
-Your ssh client will print in the console a message like the following:
+Your client will print in the console a message like the following:
 
 ----
-Hi there
-Forwarding HTTP traffic from https://xxx.serveo.net
+your url is: https://the-subdomain-returned.loca.lt
+
 ----
 
 Take note of the URL that is returned and place it in the 
`application.properties` file of the example.
@@ -46,7 +46,7 @@ Take note of the URL that is returned and place it in the 
`application.propertie
 The full property should look like:
 
 ----
-camel.component.webhook.configuration.webhook-external-url=https://the-subdomain-returned.serveo.net
+camel.component.webhook.configuration.webhook-external-url=https://the-subdomain-returned.loca.lt
 ----
 
 === Running the example
diff --git a/webhook/src/main/resources/application.properties 
b/webhook/src/main/resources/application.properties
index fc48686..c8490a4 100644
--- a/webhook/src/main/resources/application.properties
+++ b/webhook/src/main/resources/application.properties
@@ -18,5 +18,5 @@
 # Put here the authorization token for the telegram bot
 camel.component.telegram.authorization-token=<put-your-token-here>
 
-# Put here the external URL as returned by the tunnel provider (e.g. 
serveo.net or Ngrok)
-camel.component.webhook.webhook-external-url=https://xx-replace-me.serveo.net
+# Put here the external URL as returned by the tunnel provider (e.g. loca.lt 
or Ngrok)
+camel.component.webhook.webhook-external-url=https://xx-replace-me.loca.lt

Reply via email to