You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2025/01/15 11:20:16 UTC
(camel) branch main updated: docs: fix spelling (#16822)
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.git
The following commit(s) were added to refs/heads/main by this push:
new a2083895b38 docs: fix spelling (#16822)
a2083895b38 is described below
commit a2083895b382dc69095296a7efe027330fb7138f
Author: John Bampton <jb...@users.noreply.github.com>
AuthorDate: Wed Jan 15 21:20:09 2025 +1000
docs: fix spelling (#16822)
---
components/camel-kafka/src/main/docs/kafka-component.adoc | 4 ++--
components/camel-quickfix/src/main/docs/quickfix-component.adoc | 4 ++--
.../src/main/docs/salesforce-component.adoc | 4 ++--
components/camel-saxon/src/main/docs/xquery-component.adoc | 2 +-
components/camel-xchange/src/main/docs/xchange-component.adoc | 2 +-
.../camel-api/src/main/java/org/apache/camel/cloud/ServiceHealth.java | 2 +-
6 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/components/camel-kafka/src/main/docs/kafka-component.adoc b/components/camel-kafka/src/main/docs/kafka-component.adoc
index 5ec132be9b3..1f5327d48d0 100644
--- a/components/camel-kafka/src/main/docs/kafka-component.adoc
+++ b/components/camel-kafka/src/main/docs/kafka-component.adoc
@@ -282,7 +282,7 @@ When the `CommitManager` is changed to either the synchronous or asynchronous ma
message with an error is retried. This message will be continually retried until it can be processed without an error.
*Note 1*: records from a partition must be processed and committed by the same thread as the consumer. This means that certain EIPs, async or concurrent operations
-in the DSL may cause the commit to fail. In such circumstances, tyring to commit the transaction will cause the Kafka client to throw a `java.util.ConcurrentModificationException`
+in the DSL may cause the commit to fail. In such circumstances, trying to commit the transaction will cause the Kafka client to throw a `java.util.ConcurrentModificationException`
exception with the message `KafkaConsumer is not safe for multi-threaded access`. To prevent this from happening, redesign your route to avoid those operations.
*Note 2: this is mostly useful with aggregation's completion timeout strategies.
@@ -539,7 +539,7 @@ When interoperating Kafka and JMS, it may be necessary to coerce the JMS headers
For instance, when consuming messages from Kafka carrying JMS headers and then sending them to a JMS broker, those headers are
first deserialized into a byte array. Then, the `camel-jms` component tries to coerce this byte array into the
specific type used by.
-However, both the origin endpoint as well as how this was setup on the code itsef may affect how the data is serialized and
+However, both the origin endpoint as well as how this was setup on the code itself may affect how the data is serialized and
deserialized. As such, it is not feasible to naively assume the data type of the byte array.
To address this issue, we provide a custom header deserializer to force Kafka to de-serialize the JMS data according to
diff --git a/components/camel-quickfix/src/main/docs/quickfix-component.adoc b/components/camel-quickfix/src/main/docs/quickfix-component.adoc
index 9e608db2428..4343c8a6fe7 100644
--- a/components/camel-quickfix/src/main/docs/quickfix-component.adoc
+++ b/components/camel-quickfix/src/main/docs/quickfix-component.adoc
@@ -244,7 +244,7 @@ OrderStatusRequest message and UserRequest.
==== Implementing InOut Exchanges for Consumers
-Add `exchangePattern=InOut` to the QuickFIX/J enpoint URI. The
+Add `exchangePattern=InOut` to the QuickFIX/J endpoint URI. The
`MessageOrderStatusService` in
the example below is a bean with a synchronous service method. The
method returns the response
@@ -412,7 +412,7 @@ more details about FIX sequence number management.
=== Route Examples
Several examples are included in the QuickFIX/J component source code
-(test subdirectories). One of these examples implements a trival trade
+(test subdirectories). One of these examples implements a trivial trade
execution simulation. The example defines an application component that
uses the URI scheme "trade-executor".
diff --git a/components/camel-salesforce/camel-salesforce-component/src/main/docs/salesforce-component.adoc b/components/camel-salesforce/camel-salesforce-component/src/main/docs/salesforce-component.adoc
index 45267503beb..7bc2c739a70 100644
--- a/components/camel-salesforce/camel-salesforce-component/src/main/docs/salesforce-component.adoc
+++ b/components/camel-salesforce/camel-salesforce-component/src/main/docs/salesforce-component.adoc
@@ -32,7 +32,7 @@ Follow these steps to get started with the Salesforce component.
. *Create a salesforce org*. If you don't already have access to a salesforce org, you can create a https://developer.salesforce.com/signup[free developer org].
. *Create a Connected App*. In salesforce, go to Setup > Apps > App Manager, then click on *New Connected App*. Make sure to check *Enable OAuth Settings* and include relevant OAuth Scopes, including the scope called *Perform requests at any time*. Click *Save*.
. *Get the Consumer Key and Consumer Secret*. You'll need these to configure salesforce authentication. View your new connected app, then copy the key and secret and save in a safe place.
-. *Add Maven depdendency*.
+. *Add Maven dependency*.
+
[source,xml]
----
@@ -227,7 +227,7 @@ request as the input to a subsequent request.
* <<compositeUpdateSObjectCollections,compositeUpdateSObjectCollections>> - Update up to 200 records.
* <<compositeUpsertSObjectCollections,compositeUpsertSObjectCollections>> - Creates or updates up to 200 records based on an External Id field.
* <<compositeDeleteSObjectCollections,compositeDeleteSObjectCollections>> - Deletes up to 200 records.
-* <<getEventSchema, getEventSchema>> - Gets the event schema for Plaform Events, Change Data Capture events, etc.
+* <<getEventSchema, getEventSchema>> - Gets the event schema for Platform Events, Change Data Capture events, etc.
Unless otherwise specified, DTO types for the following options are from `org.apache.camel.component.salesforce.api.dto` or one if its sub-packages.
diff --git a/components/camel-saxon/src/main/docs/xquery-component.adoc b/components/camel-saxon/src/main/docs/xquery-component.adoc
index c92cddf6e17..e79fa28dfcb 100644
--- a/components/camel-saxon/src/main/docs/xquery-component.adoc
+++ b/components/camel-saxon/src/main/docs/xquery-component.adoc
@@ -120,7 +120,7 @@ attribute:
=== Using XQuery as an endpoint
-Sometimes an XQuery expression can be quite large; it can essentally be
+Sometimes an XQuery expression can be quite large; it can essentially be
used for Templating. So you may want to use an
XQuery Endpoint, so you can route using XQuery
templates.
diff --git a/components/camel-xchange/src/main/docs/xchange-component.adoc b/components/camel-xchange/src/main/docs/xchange-component.adoc
index 3d105dff99b..e2ab9e92c74 100644
--- a/components/camel-xchange/src/main/docs/xchange-component.adoc
+++ b/components/camel-xchange/src/main/docs/xchange-component.adoc
@@ -67,7 +67,7 @@ For most of the interesting stuff, however, you'd need an account with the excha
These API access keys need to be guarded tightly, especially so when they also allow for the withdraw functionality.
In which case, anyone who can get hold of your API keys can easily transfer funds from your account to some other address i.e. steal your money.
-Your API access keys can be strored in an exchange specific properties file in your SSH directory.
+Your API access keys can be stored in an exchange specific properties file in your SSH directory.
For Binance, for example, this would be: `~/.ssh/binance-secret.keys`
----
diff --git a/core/camel-api/src/main/java/org/apache/camel/cloud/ServiceHealth.java b/core/camel-api/src/main/java/org/apache/camel/cloud/ServiceHealth.java
index c4088335129..d28f6c1c26b 100644
--- a/core/camel-api/src/main/java/org/apache/camel/cloud/ServiceHealth.java
+++ b/core/camel-api/src/main/java/org/apache/camel/cloud/ServiceHealth.java
@@ -39,7 +39,7 @@ public interface ServiceHealth {
}
/**
- * The health enpoint exposed by the service.
+ * The health endpoint exposed by the service.
*/
default Optional<URI> getEndpoint() {
return Optional.empty();