You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2024/02/21 14:13:20 UTC
(camel) 01/04: CAMEL-20410: documentation fixes for camel-nats
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 f2b161c3f89b3dec3ee4a0e64cc81ee12579ae40
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Wed Feb 21 14:11:10 2024 +0100
CAMEL-20410: documentation fixes for camel-nats
- Fixed samples
- Fixed grammar and typos
- Fixed punctuation
- Added and/or fixed links
- Converted to use tabs
---
components/camel-nats/src/main/docs/nats-component.adoc | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/components/camel-nats/src/main/docs/nats-component.adoc b/components/camel-nats/src/main/docs/nats-component.adoc
index c56db0880bc..d8ce05b6867 100644
--- a/components/camel-nats/src/main/docs/nats-component.adoc
+++ b/components/camel-nats/src/main/docs/nats-component.adoc
@@ -57,7 +57,7 @@ include::partial$component-endpoint-headers.adoc[]
You configure the NATS servers on either the component or the endpoint.
-For example to configure this once on the component you can do:
+For example, to configure this once on the component, you can do:
[source,java]
----
@@ -87,7 +87,7 @@ NatsComponent nats = context.getComponent("nats", NatsComponent.class);
nats.setServers("scott:tiger@someserver:4222,superman:123@someotherserver:42222");
----
-If you are using Camel Main or Spring Boot you can configure the server urls in the `application.properties` file
+If you are using Camel Main or Spring Boot, you can configure the server urls in the `application.properties` file
[source,properties]
----
camel.component.nats.servers=scott:tiger@someserver:4222,superman:123@someotherserver:42222
@@ -96,7 +96,7 @@ camel.component.nats.servers=scott:tiger@someserver:4222,superman:123@someothers
== Request/Reply support
The producer supports request/reply where it can wait for an expected reply message.
-The consumer will when routing the message is complete, send back the message as reply-message if required.
+The consumer will, when routing the message is complete, send back the message as reply-message if required.
== Examples
@@ -108,7 +108,7 @@ from("direct:send")
.to("nats:mytopic");
----
-In case of using Authorization you can directly specify your credentials in the server URL
+In case of using authorization, you can directly specify your credentials in the server URL
[source,java]
----