You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ja...@apache.org on 2021/04/13 07:41:45 UTC
[camel] branch master updated: Fix camel-xchange docs code example
This is an automated email from the ASF dual-hosted git repository.
jamesnetherton 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 511b8ee Fix camel-xchange docs code example
511b8ee is described below
commit 511b8ee428a73defb7c04230b7f73add4313aa57
Author: James Netherton <ja...@gmail.com>
AuthorDate: Tue Apr 13 08:39:06 2021 +0100
Fix camel-xchange docs code example
---
.../resources/org/apache/camel/catalog/docs/xchange-component.adoc | 2 +-
components/camel-xchange/src/main/docs/xchange-component.adoc | 2 +-
docs/components/modules/ROOT/pages/xchange-component.adoc | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/xchange-component.adoc b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/xchange-component.adoc
index d5ed92d..6a9f183 100644
--- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/xchange-component.adoc
+++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/xchange-component.adoc
@@ -116,7 +116,7 @@ In this sample we find the current Bitcoin market price in USDT:
[source,java]
---------------------------------------------------------------------------------------------
-from("direct:ticker").to("xchange:binance?service=market&method=ticker¤cyPair=BTC/USDT")
+from("direct:ticker").to("xchange:binance?service=marketdata&method=ticker¤cyPair=BTC/USDT")
---------------------------------------------------------------------------------------------
include::{page-component-version}@camel-spring-boot::page$xchange-starter.adoc[]
diff --git a/components/camel-xchange/src/main/docs/xchange-component.adoc b/components/camel-xchange/src/main/docs/xchange-component.adoc
index d5ed92d..6a9f183 100644
--- a/components/camel-xchange/src/main/docs/xchange-component.adoc
+++ b/components/camel-xchange/src/main/docs/xchange-component.adoc
@@ -116,7 +116,7 @@ In this sample we find the current Bitcoin market price in USDT:
[source,java]
---------------------------------------------------------------------------------------------
-from("direct:ticker").to("xchange:binance?service=market&method=ticker¤cyPair=BTC/USDT")
+from("direct:ticker").to("xchange:binance?service=marketdata&method=ticker¤cyPair=BTC/USDT")
---------------------------------------------------------------------------------------------
include::{page-component-version}@camel-spring-boot::page$xchange-starter.adoc[]
diff --git a/docs/components/modules/ROOT/pages/xchange-component.adoc b/docs/components/modules/ROOT/pages/xchange-component.adoc
index bc20cb7..def4401 100644
--- a/docs/components/modules/ROOT/pages/xchange-component.adoc
+++ b/docs/components/modules/ROOT/pages/xchange-component.adoc
@@ -118,7 +118,7 @@ In this sample we find the current Bitcoin market price in USDT:
[source,java]
---------------------------------------------------------------------------------------------
-from("direct:ticker").to("xchange:binance?service=market&method=ticker¤cyPair=BTC/USDT")
+from("direct:ticker").to("xchange:binance?service=marketdata&method=ticker¤cyPair=BTC/USDT")
---------------------------------------------------------------------------------------------
include::{page-component-version}@camel-spring-boot::page$xchange-starter.adoc[]