This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit d3c868a4c930e7465548284826a42c9150b7685d Author: Otavio R. Piske <angusyo...@gmail.com> AuthorDate: Sat Feb 17 12:09:09 2024 +0100 CAMEL-20410: documentation fixes for camel-braintree - Fixed samples - Converted to use tabs - Fixed grammar and typos - Fixed punctuation - Added and/or fixed links Signed-off-by: Otavio R. Piske <angusyo...@gmail.com> --- .../src/main/docs/braintree-component.adoc | 31 +++++++++++++++------- 1 file changed, 22 insertions(+), 9 deletions(-) diff --git a/components/camel-braintree/src/main/docs/braintree-component.adoc b/components/camel-braintree/src/main/docs/braintree-component.adoc index c0f0329a022..aa92e45fbd0 100644 --- a/components/camel-braintree/src/main/docs/braintree-component.adoc +++ b/components/camel-braintree/src/main/docs/braintree-component.adoc @@ -15,14 +15,10 @@ *{component-header}* The Braintree component provides access to -https://www.braintreepayments.com/[Braintree Payments] trough through -theirs https://developers.braintreepayments.com/start/hello-server/java[Java -SDK]. - -All client applications need API credential in order to process -payments. In order to use camel-braintree with your account, you'll need -to create a new -https://www.braintreepayments.com/get-started[Sandbox] or https://www.braintreepayments.com/signup[Production] +https://www.braintreepayments.com/[Braintree Payments] through their https://developers.braintreepayments.com/start/hello-server/java[Java SDK]. + +All client applications need API credential to process payments. +To use camel-braintree with your account, you'll need to create a new https://www.braintreepayments.com/get-started[Sandbox] or https://www.braintreepayments.com/signup[Production] account. @@ -54,8 +50,18 @@ include::partial$component-endpoint-options.adoc[] == Examples -*OSGi Blueprint* +[tabs] +==== +Java:: ++ +[source,java] +---- +from("direct://GENERATE") + .to("braintree://sclientToken/generate"); +---- +OSGi Blueprint:: ++ [source,xml] ---- <?xml version="1.0"?> @@ -91,6 +97,13 @@ include::partial$component-endpoint-options.adoc[] </blueprint> ---- ++ +[NOTE] +===== +Starting from Camel 4, OSGI Blueprint is considered a *legacy* DSL. Users are strongly advised to migrate to the modern XML IO DSL. +===== + +==== == More Information