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 f8d21db73fa4 Fix misspellings in test comments (#29644)
f8d21db73fa4 is described below
commit f8d21db73fa4ca6dc575972e9afbac7e89466fb7
Author: dhairya05 <[email protected]>
AuthorDate: Thu Nov 12 12:03:36 2026 +0530
Fix misspellings in test comments (#29644)
* core: fix misspellings in test comments
* components: fix misspellings in test comments
* dsl: fix misspellings in test comments
* Keep the intentional typo in the source-editor test comments
The test types peroid=1000 on purpose and asserts contains("peroid=1000"),
so the comments must keep the misspelling they describe.
* Fix three more typos on lines this PR already rewrites
* camel-spring-ws: re-wrap the ObjectFactory Javadoc paragraph a typo fix
lengthened
---
.../BeanIODataFormatSimpleCustomBeanReaderErrorHandlerTest.java | 2 +-
.../beanio/BeanIOSplitterCustomBeanReaderErrorHandlerTest.java | 2 +-
.../dataformat/bindy/fixed/multibytes/BindyCountGraphemeTest.java | 2 +-
.../camel/component/cometd/CometdProducerConsumerInOutTest.java | 2 +-
.../java/org/apache/camel/converter/crypto/PGPDataFormatTest.java | 4 ++--
.../test/java/org/apache/camel/dataformat/csv/CsvRouteTest.java | 2 +-
.../camel/dataformat/csv/CsvUnmarshalPipeDelimiterTest.java | 2 +-
.../org/apache/camel/dataformat/csv/CsvUnmarshalStreamTest.java | 2 +-
.../apache/camel/dataformat/csv/CsvUnmarshalTabDelimiterTest.java | 2 +-
.../java/org/apache/camel/dataformat/csv/CsvUnmarshalTest.java | 2 +-
.../csv/CsvUnmarshalTwoCsvDataFormatConcurrentTest.java | 4 ++--
.../camel/dataformat/csv/converter/MyCvsRecordConverter.java | 2 +-
.../apache/camel/component/cxf/jaxws/CxfConsumerPayloadTest.java | 2 +-
.../client/integration/ElasticsearchRestClientComponentIT.java | 8 ++++----
.../org/apache/camel/component/git/producer/GitProducerTest.java | 4 ++--
.../apache/camel/component/http/HttpDefaultPortNumberTest.java | 2 +-
.../org/apache/camel/converter/jaxb/address/ObjectFactory.java | 2 +-
.../org/apache/camel/converter/jaxb/message/ObjectFactory.java | 2 +-
.../org/apache/camel/converter/jaxb/person/ObjectFactory.java | 2 +-
.../src/test/java/org/apache/camel/foo/bar/ObjectFactory.java | 2 +-
.../java/org/apache/camel/component/jetty/MultiPartFormTest.java | 2 +-
.../camel/component/jetty/MultiPartFormWithCustomFilterTest.java | 2 +-
.../apache/camel/component/jetty/MultiThreadedHttpGetTest.java | 2 +-
.../camel/component/jms/JmsRouteDeliveryModePreserveQoSTest.java | 2 +-
.../spring/tx/async/AsyncEndpointJmsTXMulticastIT.java | 2 +-
.../java/org/apache/camel/language/joor/JoorCompileErrorTest.java | 2 +-
.../directory/server/core/integ5/ServerAnnotationProcessor.java | 4 ++--
.../directory/server/core/integ5/ServerAnnotationProcessor.java | 4 ++--
.../test/java/org/apache/camel/component/mail/MailRouteTest.java | 2 +-
.../java/org/apache/camel/component/milo/call/CallClientTest.java | 2 +-
.../org/apache/camel/component/mina/MinaTcpWithInOutTest.java | 2 +-
.../component/mllp/MllpMutualTlsConnectionAndHeaderBase.java | 2 +-
.../org/apache/camel/test/junit/rule/mllp/MllpServerResource.java | 2 +-
.../src/test/java/org/apache/camel/openapi/model/GenericData.java | 2 +-
.../apache/camel/component/xquery/XQueryPropogateHeadersTest.java | 2 +-
.../camel/component/servlet/ServletStreamingChunkedTest.java | 2 +-
.../src/test/java/net/javacrumbs/calc/model/ObjectFactory.java | 8 ++++----
.../camel/component/spring/ws/addressing/AbstractWSATests.java | 2 +-
.../spring/ws/addressing/ProducerParamsPrecedenceTest.java | 2 +-
.../camel/spring/interceptor/MixedPropagationTransactedTest.java | 2 +-
...SourceWithTransactedErrorHandlerOnExceptionRedeliveryTest.java | 2 +-
.../onexception/SpringOnExceptionNotNormalizedClassNameTest.java | 2 +-
.../java/org/apache/camel/spring/rmi/RmiRegistryFactoryBean.java | 2 +-
.../component/stringtemplate/StringTemplateContentCacheTest.java | 2 +-
.../component/xmlsecurity/util/SameDocumentUriDereferencer.java | 2 +-
.../util/XmlSignature2Message2MessageWithTimestampProperty.java | 2 +-
.../org/apache/camel/builder/PredicateBinaryCoerceTypeTest.java | 2 +-
.../src/test/java/org/apache/camel/builder/RouteBuilderTest.java | 2 +-
.../org/apache/camel/component/dataset/DataSetProducerTest.java | 2 +-
.../src/test/java/org/apache/camel/impl/RouteRemoveTest.java | 2 +-
.../org/apache/camel/impl/StartupConditionRegistryStopTest.java | 2 +-
.../org/apache/camel/processor/BeanRecipientListTimeoutTest.java | 2 +-
.../test/java/org/apache/camel/processor/ErrorHandlerTest.java | 2 +-
.../java/org/apache/camel/processor/GenericXmlTokenizeTest.java | 4 ++--
.../camel/processor/MulticastParallelAllTimeoutAwareTest.java | 2 +-
.../processor/MulticastParallelFineGrainedErrorHandlingTest.java | 2 +-
.../apache/camel/processor/MulticastParallelTimeoutAwareTest.java | 2 +-
.../camel/processor/OnCompletionAndInterceptGlobalTest.java | 2 +-
.../org/apache/camel/processor/OnCompletionMoreGlobalTest.java | 2 +-
.../apache/camel/processor/OnCompletionOnCompleteOnlyTest.java | 2 +-
.../processor/OnCompletionRouteScopeOverrideGlobalScopeTest.java | 2 +-
.../test/java/org/apache/camel/processor/OnCompletionTest.java | 2 +-
.../java/org/apache/camel/processor/OnCompletionWhenTest.java | 2 +-
.../java/org/apache/camel/processor/SplitParallelTimeoutTest.java | 2 +-
.../test/java/org/apache/camel/processor/SplitterPojoTest.java | 4 ++--
.../apache/camel/processor/TransformProcessorWithHeaderTest.java | 2 +-
.../java/org/apache/camel/processor/TryProcessorOnWhenTest.java | 4 ++--
.../apache/camel/processor/ValidationFinallyBlockNoCatchTest.java | 2 +-
.../apache/camel/processor/aggregator/AggregateTimeoutTest.java | 2 +-
.../apache/camel/processor/aggregator/DistributedTimeoutTest.java | 2 +-
.../camel/processor/intercept/InterceptFromSimpleLogTest.java | 2 +-
.../src/test/java/org/apache/camel/urlhandler/pd/Handler.java | 2 +-
72 files changed, 86 insertions(+), 86 deletions(-)
diff --git
a/components/camel-beanio/src/test/java/org/apache/camel/dataformat/beanio/BeanIODataFormatSimpleCustomBeanReaderErrorHandlerTest.java
b/components/camel-beanio/src/test/java/org/apache/camel/dataformat/beanio/BeanIODataFormatSimpleCustomBeanReaderErrorHandlerTest.java
index 26c34d5b9cd5..6d5ce5a79bc5 100644
---
a/components/camel-beanio/src/test/java/org/apache/camel/dataformat/beanio/BeanIODataFormatSimpleCustomBeanReaderErrorHandlerTest.java
+++
b/components/camel-beanio/src/test/java/org/apache/camel/dataformat/beanio/BeanIODataFormatSimpleCustomBeanReaderErrorHandlerTest.java
@@ -66,7 +66,7 @@ public class
BeanIODataFormatSimpleCustomBeanReaderErrorHandlerTest extends Came
@Test
void testUnmarshalFail() throws Exception {
- // there should be 1 splitted that failed we get also
+ // there should be 1 split that failed we get also
MockEndpoint mock = getMockEndpoint("mock:beanio-unmarshal");
mock.expectedMessageCount(3);
mock.message(0).body().isInstanceOf(Employee.class);
diff --git
a/components/camel-beanio/src/test/java/org/apache/camel/dataformat/beanio/BeanIOSplitterCustomBeanReaderErrorHandlerTest.java
b/components/camel-beanio/src/test/java/org/apache/camel/dataformat/beanio/BeanIOSplitterCustomBeanReaderErrorHandlerTest.java
index 03f7c1c269f5..5be2bbe82f48 100644
---
a/components/camel-beanio/src/test/java/org/apache/camel/dataformat/beanio/BeanIOSplitterCustomBeanReaderErrorHandlerTest.java
+++
b/components/camel-beanio/src/test/java/org/apache/camel/dataformat/beanio/BeanIOSplitterCustomBeanReaderErrorHandlerTest.java
@@ -74,7 +74,7 @@ public class BeanIOSplitterCustomBeanReaderErrorHandlerTest
extends CamelTestSup
@Test
void testSplitFail() throws Exception {
- // there should be 1 splitted that failed we get also
+ // there should be 1 split that failed we get also
MockEndpoint mock = getMockEndpoint("mock:beanio-unmarshal");
mock.expectedMessageCount(3);
mock.message(0).body().isInstanceOf(Employee.class);
diff --git
a/components/camel-bindy/src/test/java/org/apache/camel/dataformat/bindy/fixed/multibytes/BindyCountGraphemeTest.java
b/components/camel-bindy/src/test/java/org/apache/camel/dataformat/bindy/fixed/multibytes/BindyCountGraphemeTest.java
index 9b6eeec127d6..e41922d667ef 100644
---
a/components/camel-bindy/src/test/java/org/apache/camel/dataformat/bindy/fixed/multibytes/BindyCountGraphemeTest.java
+++
b/components/camel-bindy/src/test/java/org/apache/camel/dataformat/bindy/fixed/multibytes/BindyCountGraphemeTest.java
@@ -50,7 +50,7 @@ public class BindyCountGraphemeTest extends CamelTestSupport {
// camel + man face palming => 2 graphemes
String firstAndSecondGrapheme =
"\uD83D\uDC2A\uD83E\uDD26\uD83C\uDFFC\u200D\u2642\uFE0F";
- // d with diaresis => 1 grapheme
+ // d with diaeresis => 1 grapheme
String thirdGrapheme = "d\u0308";
result.expectedMessagesMatches(exchange -> {
diff --git
a/components/camel-cometd/src/test/java/org/apache/camel/component/cometd/CometdProducerConsumerInOutTest.java
b/components/camel-cometd/src/test/java/org/apache/camel/component/cometd/CometdProducerConsumerInOutTest.java
index 017d74fc6525..4fe90cab400b 100644
---
a/components/camel-cometd/src/test/java/org/apache/camel/component/cometd/CometdProducerConsumerInOutTest.java
+++
b/components/camel-cometd/src/test/java/org/apache/camel/component/cometd/CometdProducerConsumerInOutTest.java
@@ -120,7 +120,7 @@ public class CometdProducerConsumerInOutTest extends
CamelTestSupport {
uri = "cometd://127.0.0.1:" + port.getPort() +
"/service/test?baseResource=file:./target/test-classes/webapp&"
+
"timeout=240000&interval=0&maxInterval=30000&multiFrameInterval=1500&jsonCommented=true&logLevel=2";
- //cometds protocal to start getSslSocketConnector
+ //cometds protocol to start getSslSocketConnector
uriSSL = "cometds://127.0.0.1:" + portSSL.getPort() +
"/service/test?baseResource=file:./target/test-classes/webapp&"
+
"timeout=240000&interval=0&maxInterval=30000&multiFrameInterval=1500&jsonCommented=true&logLevel=2";
}
diff --git
a/components/camel-crypto-pgp/src/test/java/org/apache/camel/converter/crypto/PGPDataFormatTest.java
b/components/camel-crypto-pgp/src/test/java/org/apache/camel/converter/crypto/PGPDataFormatTest.java
index a9b137b3e923..c781ed56ee4e 100644
---
a/components/camel-crypto-pgp/src/test/java/org/apache/camel/converter/crypto/PGPDataFormatTest.java
+++
b/components/camel-crypto-pgp/src/test/java/org/apache/camel/converter/crypto/PGPDataFormatTest.java
@@ -489,7 +489,7 @@ public class PGPDataFormatTest extends
AbstractPGPDataFormatTest {
@Test
void testSignatureVerificationOptionIgnore() throws Exception {
- // encryptor is sending a PGP message with signature! Decryptor is
ignoreing the signature
+ // encryptor is sending a PGP message with signature! Decryptor is
ignoring the signature
decryptor.setSignatureVerificationOption(PGPKeyAccessDataFormat.SIGNATURE_VERIFICATION_OPTION_IGNORE);
decryptor.setSignatureKeyUserids(null);
decryptor.setSignatureKeyFileName(null); // no public keyring! --> no
signature validation possible
@@ -659,7 +659,7 @@ public class PGPDataFormatTest extends
AbstractPGPDataFormatTest {
.unmarshal(pgpVerifyAndDecryptSeveralSignerKeys).to("mock:unencrypted");
// END SNIPPET: pgp-format-several-signer-keys
- // test encryption by several key and signing by serveral keys
where the keys are specified by one User ID part
+ // test encryption by several key and signing by several keys
where the keys are specified by one User ID part
PGPDataFormat pgpSignAndEncryptOneUserIdWithServeralKeys = new
PGPDataFormat();
pgpSignAndEncryptOneUserIdWithServeralKeys.setEncryptionKeyRing(getPublicKeyRing());
pgpSignAndEncryptOneUserIdWithServeralKeys.setSignatureKeyRing(getSecKeyRing());
diff --git
a/components/camel-csv/src/test/java/org/apache/camel/dataformat/csv/CsvRouteTest.java
b/components/camel-csv/src/test/java/org/apache/camel/dataformat/csv/CsvRouteTest.java
index 9e53739d06b5..574bed7a2408 100644
---
a/components/camel-csv/src/test/java/org/apache/camel/dataformat/csv/CsvRouteTest.java
+++
b/components/camel-csv/src/test/java/org/apache/camel/dataformat/csv/CsvRouteTest.java
@@ -163,7 +163,7 @@ public class CsvRouteTest extends CamelTestSupport {
from("direct:startMulti").marshal().csv().to("mock:resultMulti");
@SuppressWarnings("resource")
- // resource will be managed by framework lifecyle
+ // resource will be managed by framework lifecycle
CsvDataFormat customCsv = new CsvDataFormat()
.setDelimiter(';')
.setHeader(new String[] { "foo", "baz", "bar" })
diff --git
a/components/camel-csv/src/test/java/org/apache/camel/dataformat/csv/CsvUnmarshalPipeDelimiterTest.java
b/components/camel-csv/src/test/java/org/apache/camel/dataformat/csv/CsvUnmarshalPipeDelimiterTest.java
index b9ca0454b843..8bc9c263bfa8 100644
---
a/components/camel-csv/src/test/java/org/apache/camel/dataformat/csv/CsvUnmarshalPipeDelimiterTest.java
+++
b/components/camel-csv/src/test/java/org/apache/camel/dataformat/csv/CsvUnmarshalPipeDelimiterTest.java
@@ -75,7 +75,7 @@ public class CsvUnmarshalPipeDelimiterTest extends
CamelTestSupport {
@Override
public void configure() {
@SuppressWarnings("resource")
- // resource will be managed by framework lifecyle
+ // resource will be managed by framework lifecycle
CsvDataFormat csv = new CsvDataFormat().setDelimiter('|');
from("direct:start").unmarshal(csv)
diff --git
a/components/camel-csv/src/test/java/org/apache/camel/dataformat/csv/CsvUnmarshalStreamTest.java
b/components/camel-csv/src/test/java/org/apache/camel/dataformat/csv/CsvUnmarshalStreamTest.java
index 41caf350b379..615ee8c41546 100644
---
a/components/camel-csv/src/test/java/org/apache/camel/dataformat/csv/CsvUnmarshalStreamTest.java
+++
b/components/camel-csv/src/test/java/org/apache/camel/dataformat/csv/CsvUnmarshalStreamTest.java
@@ -104,7 +104,7 @@ public class CsvUnmarshalStreamTest extends
CamelTestSupport {
@Override
public void configure() {
@SuppressWarnings("resource")
- // resource will be managed by framework lifecyle
+ // resource will be managed by framework lifecycle
CsvDataFormat csv = new CsvDataFormat()
.setLazyLoad(true)
.setDelimiter('|');
diff --git
a/components/camel-csv/src/test/java/org/apache/camel/dataformat/csv/CsvUnmarshalTabDelimiterTest.java
b/components/camel-csv/src/test/java/org/apache/camel/dataformat/csv/CsvUnmarshalTabDelimiterTest.java
index 02ec9bea02b6..6f6f17e1c0b3 100644
---
a/components/camel-csv/src/test/java/org/apache/camel/dataformat/csv/CsvUnmarshalTabDelimiterTest.java
+++
b/components/camel-csv/src/test/java/org/apache/camel/dataformat/csv/CsvUnmarshalTabDelimiterTest.java
@@ -72,7 +72,7 @@ public class CsvUnmarshalTabDelimiterTest extends
CamelTestSupport {
@Override
public void configure() {
@SuppressWarnings("resource")
- // resource will be managed by framework lifecyle
+ // resource will be managed by framework lifecycle
CsvDataFormat csv = new CsvDataFormat()
.setDelimiter('\t');
diff --git
a/components/camel-csv/src/test/java/org/apache/camel/dataformat/csv/CsvUnmarshalTest.java
b/components/camel-csv/src/test/java/org/apache/camel/dataformat/csv/CsvUnmarshalTest.java
index c93ad91ebb49..077a5e009b9d 100644
---
a/components/camel-csv/src/test/java/org/apache/camel/dataformat/csv/CsvUnmarshalTest.java
+++
b/components/camel-csv/src/test/java/org/apache/camel/dataformat/csv/CsvUnmarshalTest.java
@@ -175,7 +175,7 @@ public class CsvUnmarshalTest extends CamelTestSupport {
return new RouteBuilder() {
@Override
@SuppressWarnings("resource")
- // resource will be managed by framework lifecyle
+ // resource will be managed by framework lifecycle
public void configure() {
// Default format
from("direct:default")
diff --git
a/components/camel-csv/src/test/java/org/apache/camel/dataformat/csv/CsvUnmarshalTwoCsvDataFormatConcurrentTest.java
b/components/camel-csv/src/test/java/org/apache/camel/dataformat/csv/CsvUnmarshalTwoCsvDataFormatConcurrentTest.java
index d977e3e16ec3..0f1cbc1904ed 100644
---
a/components/camel-csv/src/test/java/org/apache/camel/dataformat/csv/CsvUnmarshalTwoCsvDataFormatConcurrentTest.java
+++
b/components/camel-csv/src/test/java/org/apache/camel/dataformat/csv/CsvUnmarshalTwoCsvDataFormatConcurrentTest.java
@@ -70,10 +70,10 @@ public class CsvUnmarshalTwoCsvDataFormatConcurrentTest
extends CamelTestSupport
@Override
public void configure() {
@SuppressWarnings("resource")
- // resource will be managed by framework lifecyle
+ // resource will be managed by framework lifecycle
CsvDataFormat csv = new CsvDataFormat().setDelimiter('|');
@SuppressWarnings("resource")
- // resource will be managed by framework lifecyle
+ // resource will be managed by framework lifecycle
CsvDataFormat csv2 = new CsvDataFormat().setDelimiter(';');
from("direct:start")
diff --git
a/components/camel-csv/src/test/java/org/apache/camel/dataformat/csv/converter/MyCvsRecordConverter.java
b/components/camel-csv/src/test/java/org/apache/camel/dataformat/csv/converter/MyCvsRecordConverter.java
index caee2f52ae43..2fdaa6db1f04 100644
---
a/components/camel-csv/src/test/java/org/apache/camel/dataformat/csv/converter/MyCvsRecordConverter.java
+++
b/components/camel-csv/src/test/java/org/apache/camel/dataformat/csv/converter/MyCvsRecordConverter.java
@@ -26,7 +26,7 @@ import org.apache.commons.csv.CSVRecord;
/**
* Test {@link CsvRecordConverter} implementation.
* <p>
- * This implementation is explicitely created in a subpackage to check the
visibility of {@link CsvRecordConverter}.
+ * This implementation is explicitly created in a subpackage to check the
visibility of {@link CsvRecordConverter}.
* </p>
*/
public class MyCvsRecordConverter implements CsvRecordConverter<List<String>> {
diff --git
a/components/camel-cxf/camel-cxf-soap/src/test/java/org/apache/camel/component/cxf/jaxws/CxfConsumerPayloadTest.java
b/components/camel-cxf/camel-cxf-soap/src/test/java/org/apache/camel/component/cxf/jaxws/CxfConsumerPayloadTest.java
index e95d1df1d8f9..a4b0577bc3bb 100644
---
a/components/camel-cxf/camel-cxf-soap/src/test/java/org/apache/camel/component/cxf/jaxws/CxfConsumerPayloadTest.java
+++
b/components/camel-cxf/camel-cxf-soap/src/test/java/org/apache/camel/component/cxf/jaxws/CxfConsumerPayloadTest.java
@@ -53,7 +53,7 @@ public class CxfConsumerPayloadTest extends
CxfConsumerMessageTest {
protected static final String ELEMENT_NAMESPACE =
"http://jaxws.cxf.component.camel.apache.org/";
protected void checkRequest(String expect, String request) {
- //REVIST use a more reliable comparison to tolerate some namespaces
being added to the root element
+ //REVISIT use a more reliable comparison to tolerate some namespaces
being added to the root element
if (expect.equals("ECHO_REQUEST")) {
assertTrue(request.startsWith(ECHO_REQUEST.substring(0, 66))
&& request.endsWith(ECHO_REQUEST.substring(67)), "Get a
wrong request");
diff --git
a/components/camel-elasticsearch-rest-client/src/test/java/org/apache/camel/component/elasticsearch/rest/client/integration/ElasticsearchRestClientComponentIT.java
b/components/camel-elasticsearch-rest-client/src/test/java/org/apache/camel/component/elasticsearch/rest/client/integration/ElasticsearchRestClientComponentIT.java
index 6b49b5b14395..cbb09e1af63d 100644
---
a/components/camel-elasticsearch-rest-client/src/test/java/org/apache/camel/component/elasticsearch/rest/client/integration/ElasticsearchRestClientComponentIT.java
+++
b/components/camel-elasticsearch-rest-client/src/test/java/org/apache/camel/component/elasticsearch/rest/client/integration/ElasticsearchRestClientComponentIT.java
@@ -141,7 +141,7 @@ public class ElasticsearchRestClientComponentIT extends
ElasticsearchRestClientI
assertEquals(expectedResult, allDocuments);
});
- // fetch one single document with criterias
+ // fetch one single document with criteria
Awaitility.await().atMost(10, TimeUnit.SECONDS).untilAsserted(() -> {
Map<String, String> criterias = new HashMap<>();
criterias.put("title", "Elastic");
@@ -153,7 +153,7 @@ public class ElasticsearchRestClientComponentIT extends
ElasticsearchRestClientI
assertEquals(expectedResult, allDocuments);
});
- // fetch multiple documents with criterias
+ // fetch multiple documents with criteria
Awaitility.await().atMost(10, TimeUnit.SECONDS).untilAsserted(() -> {
Map<String, String> criterias = new HashMap<>();
criterias.put("title", "Elastic");
@@ -165,7 +165,7 @@ public class ElasticsearchRestClientComponentIT extends
ElasticsearchRestClientI
assertEquals(expectedResult, allDocuments);
});
- // fetch inexisting document with criterias
+ // fetch non-existing document with criteria
Awaitility.await().atMost(10, TimeUnit.SECONDS).untilAsserted(() -> {
Map<String, String> criterias = new HashMap<>();
criterias.put("title", "Apache");
@@ -237,7 +237,7 @@ public class ElasticsearchRestClientComponentIT extends
ElasticsearchRestClientI
assertEquals(expectedResult, allDocuments);
});
- // DELETE a document by inexisting ID
+ // DELETE a document by non-existing ID
mockErrorHandler.reset();
mockErrorHandler.expectedMessageCount(1);
diff --git
a/components/camel-git/src/test/java/org/apache/camel/component/git/producer/GitProducerTest.java
b/components/camel-git/src/test/java/org/apache/camel/component/git/producer/GitProducerTest.java
index 7e8862451d19..14064acef075 100644
---
a/components/camel-git/src/test/java/org/apache/camel/component/git/producer/GitProducerTest.java
+++
b/components/camel-git/src/test/java/org/apache/camel/component/git/producer/GitProducerTest.java
@@ -288,7 +288,7 @@ public class GitProducerTest extends GitTestSupport {
// Test camel-git commit (with no changes)
template.requestBodyAndHeader("direct:commit", "",
GitConstants.GIT_COMMIT_MESSAGE, commitMessage);
- // Check that it has been commited twice
+ // Check that it has been committed twice
validateGitLogs(git, commitMessage, commitMessage);
git.close();
}
@@ -887,7 +887,7 @@ public class GitProducerTest extends GitTestSupport {
// Test camel-git commit (with no changes)
template.requestBodyAndHeader("direct:commit", "",
GitConstants.GIT_COMMIT_MESSAGE, commitMessage);
- // Check that it has been commited twice
+ // Check that it has been committed twice
validateGitLogs(git, commitMessage, commitMessage);
// Test camel-git add
diff --git
a/components/camel-http/src/test/java/org/apache/camel/component/http/HttpDefaultPortNumberTest.java
b/components/camel-http/src/test/java/org/apache/camel/component/http/HttpDefaultPortNumberTest.java
index 8eb2494e5785..45dcf09283b7 100644
---
a/components/camel-http/src/test/java/org/apache/camel/component/http/HttpDefaultPortNumberTest.java
+++
b/components/camel-http/src/test/java/org/apache/camel/component/http/HttpDefaultPortNumberTest.java
@@ -128,7 +128,7 @@ public class HttpDefaultPortNumberTest extends BaseHttpTest
{
context.start();
- //server is runnning, but connecting to other port
+ //server is running, but connecting to other port
Exchange exchange = template.request("direct:start", null);
assertRefused(exchange, ":80");
diff --git
a/components/camel-jaxb/src/test/java/org/apache/camel/converter/jaxb/address/ObjectFactory.java
b/components/camel-jaxb/src/test/java/org/apache/camel/converter/jaxb/address/ObjectFactory.java
index 53b1c43a100f..a8cc13a95d95 100644
---
a/components/camel-jaxb/src/test/java/org/apache/camel/converter/jaxb/address/ObjectFactory.java
+++
b/components/camel-jaxb/src/test/java/org/apache/camel/converter/jaxb/address/ObjectFactory.java
@@ -22,7 +22,7 @@ import jakarta.xml.bind.annotation.XmlRegistry;
* This object contains factory methods for each Java content interface and
Java element interface generated in the
* org.apache.camel.converter.jaxb.address package.
* <p>
- * An ObjectFactory allows you to programatically construct new instances of
the Java representation for XML content.
+ * An ObjectFactory allows you to programmatically construct new instances of
the Java representation for XML content.
* The Java representation of XML content can consist of schema derived
interfaces and classes representing the binding
* of schema type definitions, element declarations and model groups. Factory
methods for each of these are provided in
* this class.
diff --git
a/components/camel-jaxb/src/test/java/org/apache/camel/converter/jaxb/message/ObjectFactory.java
b/components/camel-jaxb/src/test/java/org/apache/camel/converter/jaxb/message/ObjectFactory.java
index 70812c9546ee..685b8b7337c9 100644
---
a/components/camel-jaxb/src/test/java/org/apache/camel/converter/jaxb/message/ObjectFactory.java
+++
b/components/camel-jaxb/src/test/java/org/apache/camel/converter/jaxb/message/ObjectFactory.java
@@ -26,7 +26,7 @@ import javax.xml.namespace.QName;
* This object contains factory methods for each Java content interface and
Java element interface generated in the
* org.apache.camel.converter.jaxb.message package.
* <p>
- * An ObjectFactory allows you to programatically construct new instances of
the Java representation for XML content.
+ * An ObjectFactory allows you to programmatically construct new instances of
the Java representation for XML content.
* The Java representation of XML content can consist of schema derived
interfaces and classes representing the binding
* of schema type definitions, element declarations and model groups. Factory
methods for each of these are provided in
* this class.
diff --git
a/components/camel-jaxb/src/test/java/org/apache/camel/converter/jaxb/person/ObjectFactory.java
b/components/camel-jaxb/src/test/java/org/apache/camel/converter/jaxb/person/ObjectFactory.java
index 45e0066383c8..2fb7bbd85f04 100644
---
a/components/camel-jaxb/src/test/java/org/apache/camel/converter/jaxb/person/ObjectFactory.java
+++
b/components/camel-jaxb/src/test/java/org/apache/camel/converter/jaxb/person/ObjectFactory.java
@@ -22,7 +22,7 @@ import jakarta.xml.bind.annotation.XmlRegistry;
* This object contains factory methods for each Java content interface and
Java element interface generated in the
* org.apache.camel.converter.jaxb.person package.
* <p>
- * An ObjectFactory allows you to programatically construct new instances of
the Java representation for XML content.
+ * An ObjectFactory allows you to programmatically construct new instances of
the Java representation for XML content.
* The Java representation of XML content can consist of schema derived
interfaces and classes representing the binding
* of schema type definitions, element declarations and model groups. Factory
methods for each of these are provided in
* this class.
diff --git
a/components/camel-jaxb/src/test/java/org/apache/camel/foo/bar/ObjectFactory.java
b/components/camel-jaxb/src/test/java/org/apache/camel/foo/bar/ObjectFactory.java
index 54a8ee99b79b..d7fa209b3087 100644
---
a/components/camel-jaxb/src/test/java/org/apache/camel/foo/bar/ObjectFactory.java
+++
b/components/camel-jaxb/src/test/java/org/apache/camel/foo/bar/ObjectFactory.java
@@ -26,7 +26,7 @@ import javax.xml.namespace.QName;
* This object contains factory methods for each Java content interface and
Java element interface generated in the
* org.apache.camel.foo.bar package.
* <p>
- * An ObjectFactory allows you to programatically construct new instances of
the Java representation for XML content.
+ * An ObjectFactory allows you to programmatically construct new instances of
the Java representation for XML content.
* The Java representation of XML content can consist of schema derived
interfaces and classes representing the binding
* of schema type definitions, element declarations and model groups. Factory
methods for each of these are provided in
* this class.
diff --git
a/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/MultiPartFormTest.java
b/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/MultiPartFormTest.java
index 01db414c9434..06bbe44384c0 100644
---
a/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/MultiPartFormTest.java
+++
b/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/MultiPartFormTest.java
@@ -93,7 +93,7 @@ public class MultiPartFormTest extends BaseJettyTest {
// will not be returned until Jetty makes it available
-
// currently the content-type
// returned is just the default for FileDataHandler
(for
- // the implentation being used)
+ // the implementation being used)
// assertEquals("Get a wrong content type",
// "text/plain", data.getContentType());
assertEquals("log4j2.properties", data.getName(), "Got
the wrong name");
diff --git
a/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/MultiPartFormWithCustomFilterTest.java
b/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/MultiPartFormWithCustomFilterTest.java
index c63b3acb19b0..f9efa10cf827 100644
---
a/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/MultiPartFormWithCustomFilterTest.java
+++
b/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/MultiPartFormWithCustomFilterTest.java
@@ -125,7 +125,7 @@ public class MultiPartFormWithCustomFilterTest extends
BaseJettyTest {
// will not be returned until Jetty makes it available
-
// currently the content-type
// returned is just the default for FileDataHandler
(for
- // the implentation being used)
+ // the implementation being used)
// assertEquals("Get a wrong content type",
// "text/plain", data.getContentType());
assertEquals("log4j2.properties", data.getName(), "Got
the wrong name");
diff --git
a/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/MultiThreadedHttpGetTest.java
b/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/MultiThreadedHttpGetTest.java
index ed45aa3f75e5..c882df5994ce 100644
---
a/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/MultiThreadedHttpGetTest.java
+++
b/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/MultiThreadedHttpGetTest.java
@@ -66,7 +66,7 @@ public class MultiThreadedHttpGetTest extends BaseJettyTest {
@Test
public void testHttpGetWithExplicitStreamClose() throws Exception {
- // We close connections explicitely at the very end of the flow
+ // We close connections explicitly at the very end of the flow
// (camel doesn't know when the stream is not needed any more)
MockEndpoint mockEndpoint = resolveMandatoryEndpoint("mock:results",
MockEndpoint.class);
diff --git
a/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsRouteDeliveryModePreserveQoSTest.java
b/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsRouteDeliveryModePreserveQoSTest.java
index cc43bea86ec5..9bb5a4a98f4d 100644
---
a/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsRouteDeliveryModePreserveQoSTest.java
+++
b/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsRouteDeliveryModePreserveQoSTest.java
@@ -160,7 +160,7 @@ public class JmsRouteDeliveryModePreserveQoSTest extends
AbstractPersistentJMSTe
// in this test, we can only pass if we are "preserving" existing
deliveryMode.
// this means camel expects to have an existing QoS set as a header,
or it will pick
// from the JMS message created by the message creator
- // otherwise, "preserveMessageQos==true" does not allow us to
explicity set the deliveryMode
+ // otherwise, "preserveMessageQos==true" does not allow us to
explicitly set the deliveryMode
// on the message
mock.message(0).header("JMSDeliveryMode").isEqualTo(1);
diff --git
a/components/camel-jms/src/test/java/org/apache/camel/component/jms/integration/spring/tx/async/AsyncEndpointJmsTXMulticastIT.java
b/components/camel-jms/src/test/java/org/apache/camel/component/jms/integration/spring/tx/async/AsyncEndpointJmsTXMulticastIT.java
index 431254bae38e..32b47ac0bc82 100644
---
a/components/camel-jms/src/test/java/org/apache/camel/component/jms/integration/spring/tx/async/AsyncEndpointJmsTXMulticastIT.java
+++
b/components/camel-jms/src/test/java/org/apache/camel/component/jms/integration/spring/tx/async/AsyncEndpointJmsTXMulticastIT.java
@@ -68,7 +68,7 @@ public class AsyncEndpointJmsTXMulticastIT extends
AbstractSpringJMSITSupport {
beforeThreadName =
Thread.currentThread().getName();
assertTrue(exchange.isTransacted(), "Exchange
should be transacted");
})
- // if we use mutlicast then we can propagate
transactions across
+ // if we use multicast then we can propagate
transactions across
.multicast().to("direct:foo");
from("direct:foo")
diff --git
a/components/camel-joor/src/test/java/org/apache/camel/language/joor/JoorCompileErrorTest.java
b/components/camel-joor/src/test/java/org/apache/camel/language/joor/JoorCompileErrorTest.java
index dc4a8e0f27e9..fb75f034fa27 100644
---
a/components/camel-joor/src/test/java/org/apache/camel/language/joor/JoorCompileErrorTest.java
+++
b/components/camel-joor/src/test/java/org/apache/camel/language/joor/JoorCompileErrorTest.java
@@ -35,7 +35,7 @@ public class JoorCompileErrorTest extends LanguageTestSupport
{
assertExpression("'Hello World", null);
fail("Should fail");
} catch (JoorCompilationException e) {
- // there is a missing end quote cauing compile error
+ // there is a missing end quote causing compile error
assertTrue(e.getCode().contains("return \"Hello World;"));
assertTrue(e.getCause().getMessage().contains("Compilation
error"));
}
diff --git
a/components/camel-ldap/src/test/java/org/apache/directory/server/core/integ5/ServerAnnotationProcessor.java
b/components/camel-ldap/src/test/java/org/apache/directory/server/core/integ5/ServerAnnotationProcessor.java
index 4b987b1af205..0f08135cd469 100644
---
a/components/camel-ldap/src/test/java/org/apache/directory/server/core/integ5/ServerAnnotationProcessor.java
+++
b/components/camel-ldap/src/test/java/org/apache/directory/server/core/integ5/ServerAnnotationProcessor.java
@@ -165,7 +165,7 @@ public final class ServerAnnotationProcessor {
}
/**
- * Returns an LdapServer instance and starts it before returning the
instance, infering the configuration from the
+ * Returns an LdapServer instance and starts it before returning the
instance, inferring the configuration from the
* Stack trace
*
* @param directoryService the directory service
@@ -213,7 +213,7 @@ public final class ServerAnnotationProcessor {
}
/**
- * creates an LdapServer and starts before returning the instance,
infering the configuration from the Stack trace
+ * creates an LdapServer and starts before returning the instance,
inferring the configuration from the Stack trace
*
* @return a running LdapServer instance
* @throws ClassNotFoundException If the CreateConsumer class cannot be
loaded
diff --git
a/components/camel-ldif/src/test/java/org/apache/directory/server/core/integ5/ServerAnnotationProcessor.java
b/components/camel-ldif/src/test/java/org/apache/directory/server/core/integ5/ServerAnnotationProcessor.java
index 4b987b1af205..0f08135cd469 100644
---
a/components/camel-ldif/src/test/java/org/apache/directory/server/core/integ5/ServerAnnotationProcessor.java
+++
b/components/camel-ldif/src/test/java/org/apache/directory/server/core/integ5/ServerAnnotationProcessor.java
@@ -165,7 +165,7 @@ public final class ServerAnnotationProcessor {
}
/**
- * Returns an LdapServer instance and starts it before returning the
instance, infering the configuration from the
+ * Returns an LdapServer instance and starts it before returning the
instance, inferring the configuration from the
* Stack trace
*
* @param directoryService the directory service
@@ -213,7 +213,7 @@ public final class ServerAnnotationProcessor {
}
/**
- * creates an LdapServer and starts before returning the instance,
infering the configuration from the Stack trace
+ * creates an LdapServer and starts before returning the instance,
inferring the configuration from the Stack trace
*
* @return a running LdapServer instance
* @throws ClassNotFoundException If the CreateConsumer class cannot be
loaded
diff --git
a/components/camel-mail/src/test/java/org/apache/camel/component/mail/MailRouteTest.java
b/components/camel-mail/src/test/java/org/apache/camel/component/mail/MailRouteTest.java
index 7bb863c52d0c..e4156ec3415f 100644
---
a/components/camel-mail/src/test/java/org/apache/camel/component/mail/MailRouteTest.java
+++
b/components/camel-mail/src/test/java/org/apache/camel/component/mail/MailRouteTest.java
@@ -128,7 +128,7 @@ public class MailRouteTest extends CamelTestSupport {
// header value
// here we send the mail to 2 receivers. notice we can use a
// plain string with semi colon
- // to seperate the mail addresses
+ // to separate the mail addresses
from("direct:a")
.setHeader("to", constant(result.getEmail() + "; " +
copy.getEmail()))
.to(result.uriPrefix(Protocol.smtp)
diff --git
a/components/camel-milo/src/test/java/org/apache/camel/component/milo/call/CallClientTest.java
b/components/camel-milo/src/test/java/org/apache/camel/component/milo/call/CallClientTest.java
index 3255db6dc935..86988e527110 100644
---
a/components/camel-milo/src/test/java/org/apache/camel/component/milo/call/CallClientTest.java
+++
b/components/camel-milo/src/test/java/org/apache/camel/component/milo/call/CallClientTest.java
@@ -108,7 +108,7 @@ public class CallClientTest extends AbstractMiloServerTest {
cfg.setApplicationName(LocalizedText.english("Apache Camel Milo
Server"));
cfg.setApplicationUri("urn:mock:namespace");
cfg.setProductUri("urn:org:apache:camel:milo");
- // FIXME migrate to new certifcate
+ // FIXME migrate to new certificate
// cfg.setCertificateManager(new DefaultCertificateManager());
//// cfg.setCertificateValidator(new
InsecureCertificateValidator());
// cfg.setCertificateValidator(new
CertificateValidator.InsecureCertificateValidator());
diff --git
a/components/camel-mina/src/test/java/org/apache/camel/component/mina/MinaTcpWithInOutTest.java
b/components/camel-mina/src/test/java/org/apache/camel/component/mina/MinaTcpWithInOutTest.java
index d525a56e5458..c800ca629691 100644
---
a/components/camel-mina/src/test/java/org/apache/camel/component/mina/MinaTcpWithInOutTest.java
+++
b/components/camel-mina/src/test/java/org/apache/camel/component/mina/MinaTcpWithInOutTest.java
@@ -84,7 +84,7 @@ public class MinaTcpWithInOutTest extends BaseMinaTest {
latch = new CountDownLatch(1);
uri =
String.format("mina:tcp://localhost:%1$s?textline=true&lazySessionCreation=true",
getPort());
- // The server is activated after Camel to check if the lazyness is
working
+ // The server is activated after Camel to check if the laziness is
working
MinaReverserServer server = new MinaReverserServer(getPort());
server.start();
diff --git
a/components/camel-mllp/src/test/java/org/apache/camel/component/mllp/MllpMutualTlsConnectionAndHeaderBase.java
b/components/camel-mllp/src/test/java/org/apache/camel/component/mllp/MllpMutualTlsConnectionAndHeaderBase.java
index f27e4a356a10..6f95048d190e 100644
---
a/components/camel-mllp/src/test/java/org/apache/camel/component/mllp/MllpMutualTlsConnectionAndHeaderBase.java
+++
b/components/camel-mllp/src/test/java/org/apache/camel/component/mllp/MllpMutualTlsConnectionAndHeaderBase.java
@@ -92,7 +92,7 @@ public class MllpMutualTlsConnectionAndHeaderBase extends
CamelTestSupport {
/**
* Creates an SSLContextParameters object with a key and truststore so
that mTLS is conducted.
*
- * @return SSLContextParamters with both keystore and truststore
paramters.
+ * @return SSLContextParameters with both keystore and
truststore parameters.
* @throws Exception if anything goes wrong and then should fail the test.
*/
private SSLContextParameters
createSslContextParameters(ClientAuthentication clientAuthentication) throws
Exception {
diff --git
a/components/camel-mllp/src/test/java/org/apache/camel/test/junit/rule/mllp/MllpServerResource.java
b/components/camel-mllp/src/test/java/org/apache/camel/test/junit/rule/mllp/MllpServerResource.java
index 0d1896a64102..7ededb9f476e 100644
---
a/components/camel-mllp/src/test/java/org/apache/camel/test/junit/rule/mllp/MllpServerResource.java
+++
b/components/camel-mllp/src/test/java/org/apache/camel/test/junit/rule/mllp/MllpServerResource.java
@@ -990,7 +990,7 @@ public class MllpServerResource implements
BeforeEachCallback, AfterEachCallback
*
* @param hl7Message HL7 message that is being acknowledged
*
- * @return a HL7 Application Accept Acknowlegdement
+ * @return a HL7 Application Accept Acknowledgement
*/
private String generateAcknowledgementMessage(String hl7Message) {
return generateAcknowledgementMessage(hl7Message, "AA");
diff --git
a/components/camel-openapi-java/src/test/java/org/apache/camel/openapi/model/GenericData.java
b/components/camel-openapi-java/src/test/java/org/apache/camel/openapi/model/GenericData.java
index 6e37cdf7f1a0..a46d5bc7c0aa 100644
---
a/components/camel-openapi-java/src/test/java/org/apache/camel/openapi/model/GenericData.java
+++
b/components/camel-openapi-java/src/test/java/org/apache/camel/openapi/model/GenericData.java
@@ -17,7 +17,7 @@
package org.apache.camel.openapi.model;
/**
- * Generic interface used to validate that inheritance and generics also works
with the camel open-api compoment
+ * Generic interface used to validate that inheritance and generics also works
with the camel open-api component
*/
interface GenericData {
}
diff --git
a/components/camel-saxon/src/test/java/org/apache/camel/component/xquery/XQueryPropogateHeadersTest.java
b/components/camel-saxon/src/test/java/org/apache/camel/component/xquery/XQueryPropogateHeadersTest.java
index 3b2d282ac87a..e209b651828c 100644
---
a/components/camel-saxon/src/test/java/org/apache/camel/component/xquery/XQueryPropogateHeadersTest.java
+++
b/components/camel-saxon/src/test/java/org/apache/camel/component/xquery/XQueryPropogateHeadersTest.java
@@ -22,7 +22,7 @@ import org.apache.camel.test.junit6.CamelTestSupport;
import org.junit.jupiter.api.Test;
/**
- * Unit test to verify that headers can be propogated through this component.
+ * Unit test to verify that headers can be propagated through this component.
*/
public class XQueryPropogateHeadersTest extends CamelTestSupport {
diff --git
a/components/camel-servlet/src/test/java/org/apache/camel/component/servlet/ServletStreamingChunkedTest.java
b/components/camel-servlet/src/test/java/org/apache/camel/component/servlet/ServletStreamingChunkedTest.java
index 040518f55ccd..0e5a961b6581 100644
---
a/components/camel-servlet/src/test/java/org/apache/camel/component/servlet/ServletStreamingChunkedTest.java
+++
b/components/camel-servlet/src/test/java/org/apache/camel/component/servlet/ServletStreamingChunkedTest.java
@@ -45,7 +45,7 @@ public class ServletStreamingChunkedTest extends
ServletCamelRouterTestSupport {
final CountDownLatch latch1 = new CountDownLatch(1);
final CountDownLatch latch2 = new CountDownLatch(1);
- // use background thread to write to stream that camel-servlet uses as
reponse
+ // use background thread to write to stream that camel-servlet uses as
response
context.getExecutorServiceManager().newSingleThreadExecutor(this,
"writer").execute(() -> {
try {
LOG.info(">>>> sleeping <<<<");
diff --git
a/components/camel-spring-parent/camel-spring-ws/src/test/java/net/javacrumbs/calc/model/ObjectFactory.java
b/components/camel-spring-parent/camel-spring-ws/src/test/java/net/javacrumbs/calc/model/ObjectFactory.java
index 1f40834be8ae..add438690cb1 100644
---
a/components/camel-spring-parent/camel-spring-ws/src/test/java/net/javacrumbs/calc/model/ObjectFactory.java
+++
b/components/camel-spring-parent/camel-spring-ws/src/test/java/net/javacrumbs/calc/model/ObjectFactory.java
@@ -28,10 +28,10 @@ import jakarta.xml.bind.annotation.XmlRegistry;
/**
* This object contains factory methods for each Java content interface and
Java element interface generated in the
- * net.javacrumbs.calc.model package. An ObjectFactory allows you to
programatically construct new instances of the Java
- * representation for XML content. The Java representation of XML content can
consist of schema derived interfaces and
- * classes representing the binding of schema type definitions, element
declarations and model groups. Factory methods
- * for each of these are provided in this class.
+ * net.javacrumbs.calc.model package. An ObjectFactory allows you to
programmatically construct new instances of the
+ * Java representation for XML content. The Java representation of XML content
can consist of schema derived interfaces
+ * and classes representing the binding of schema type definitions, element
declarations and model groups. Factory
+ * methods for each of these are provided in this class.
*/
@XmlRegistry
public class ObjectFactory {
diff --git
a/components/camel-spring-parent/camel-spring-ws/src/test/java/org/apache/camel/component/spring/ws/addressing/AbstractWSATests.java
b/components/camel-spring-parent/camel-spring-ws/src/test/java/org/apache/camel/component/spring/ws/addressing/AbstractWSATests.java
index 842b1515c671..f60277d9e215 100644
---
a/components/camel-spring-parent/camel-spring-ws/src/test/java/org/apache/camel/component/spring/ws/addressing/AbstractWSATests.java
+++
b/components/camel-spring-parent/camel-spring-ws/src/test/java/org/apache/camel/component/spring/ws/addressing/AbstractWSATests.java
@@ -162,7 +162,7 @@ public abstract class AbstractWSATests extends
CamelSpringTestSupport {
/**
* Provide corresponding results based on channel input. These two
abstract methods (channelIn and channelOut)are
- * bind together tighly.
+ * bind together tightly.
*/
abstract MessageAddressingProperties channelOut();
diff --git
a/components/camel-spring-parent/camel-spring-ws/src/test/java/org/apache/camel/component/spring/ws/addressing/ProducerParamsPrecedenceTest.java
b/components/camel-spring-parent/camel-spring-ws/src/test/java/org/apache/camel/component/spring/ws/addressing/ProducerParamsPrecedenceTest.java
index 58173de8dacd..51e8ef03d9e3 100644
---
a/components/camel-spring-parent/camel-spring-ws/src/test/java/org/apache/camel/component/spring/ws/addressing/ProducerParamsPrecedenceTest.java
+++
b/components/camel-spring-parent/camel-spring-ws/src/test/java/org/apache/camel/component/spring/ws/addressing/ProducerParamsPrecedenceTest.java
@@ -154,7 +154,7 @@ public class ProducerParamsPrecedenceTest extends
CamelSpringTestSupport {
= TestUtil.getWSAProperties((SoapMessage)
sender.getMessageContext().getRequest());
Assertions.assertThat(wsaProperties).isNotNull();
Assertions.assertThat(wsaProperties.getFaultTo().getAddress()).isEqualTo(new
URI("http://faultPrecedence.to"));
- // /we set in sample data all precendence fields for simplier tests
+ // /we set in sample data all precedence fields for simpler tests
// otherwise it would be here anonymous
Assertions.assertThat(wsaProperties.getReplyTo().getAddress()).isEqualTo(new
URI("http://replyPrecedence.to"));
diff --git
a/components/camel-spring-parent/camel-spring-xml/src/test/java/org/apache/camel/spring/interceptor/MixedPropagationTransactedTest.java
b/components/camel-spring-parent/camel-spring-xml/src/test/java/org/apache/camel/spring/interceptor/MixedPropagationTransactedTest.java
index 1b84b117c169..fb5a45ce2e67 100644
---
a/components/camel-spring-parent/camel-spring-xml/src/test/java/org/apache/camel/spring/interceptor/MixedPropagationTransactedTest.java
+++
b/components/camel-spring-parent/camel-spring-xml/src/test/java/org/apache/camel/spring/interceptor/MixedPropagationTransactedTest.java
@@ -133,7 +133,7 @@ public class MixedPropagationTransactedTest extends
SpringTestSupport {
try {
template.sendBody("direct:requiredAndNewRollback", "Tiger in
Action");
} catch (RuntimeCamelException e) {
- // expeced as we fail
+ // expected as we fail
assertIsInstanceOf(RuntimeCamelException.class, e.getCause());
assertTrue(e.getCause().getCause() instanceof
IllegalArgumentException);
assertEquals("We don't have Donkeys, only Camels",
e.getCause().getCause().getMessage());
diff --git
a/components/camel-spring-parent/camel-spring-xml/src/test/java/org/apache/camel/spring/interceptor/TransactionalClientDataSourceWithTransactedErrorHandlerOnExceptionRedeliveryTest.java
b/components/camel-spring-parent/camel-spring-xml/src/test/java/org/apache/camel/spring/interceptor/TransactionalClientDataSourceWithTransactedErrorHandlerOnExceptionRedeliveryTest.java
index 2c43021b56bf..ea13467fabd1 100644
---
a/components/camel-spring-parent/camel-spring-xml/src/test/java/org/apache/camel/spring/interceptor/TransactionalClientDataSourceWithTransactedErrorHandlerOnExceptionRedeliveryTest.java
+++
b/components/camel-spring-parent/camel-spring-xml/src/test/java/org/apache/camel/spring/interceptor/TransactionalClientDataSourceWithTransactedErrorHandlerOnExceptionRedeliveryTest.java
@@ -36,7 +36,7 @@ public class
TransactionalClientDataSourceWithTransactedErrorHandlerOnExceptionR
// Camel in case you have multiple TX managers
errorHandler(transactionErrorHandler().maximumRedeliveries(6));
- // speical for this exception we only want to do it at most 4
times
+ // special for this exception we only want to do it at most 4
times
onException(IllegalArgumentException.class).maximumRedeliveries(4);
from("direct:okay")
diff --git
a/components/camel-spring-parent/camel-spring-xml/src/test/java/org/apache/camel/spring/processor/onexception/SpringOnExceptionNotNormalizedClassNameTest.java
b/components/camel-spring-parent/camel-spring-xml/src/test/java/org/apache/camel/spring/processor/onexception/SpringOnExceptionNotNormalizedClassNameTest.java
index 43d2a71161d9..875f0e183755 100644
---
a/components/camel-spring-parent/camel-spring-xml/src/test/java/org/apache/camel/spring/processor/onexception/SpringOnExceptionNotNormalizedClassNameTest.java
+++
b/components/camel-spring-parent/camel-spring-xml/src/test/java/org/apache/camel/spring/processor/onexception/SpringOnExceptionNotNormalizedClassNameTest.java
@@ -25,7 +25,7 @@ import static
org.apache.camel.spring.processor.SpringTestHelper.createSpringCam
import static org.junit.jupiter.api.Assertions.assertEquals;
/**
- * Unit test for onException with expresion classname with a trailing \n the
spring DSL.
+ * Unit test for onException with expression classname with a trailing \n the
spring DSL.
*/
public class SpringOnExceptionNotNormalizedClassNameTest extends
ContextTestSupport {
diff --git
a/components/camel-spring-parent/camel-spring-xml/src/test/java/org/apache/camel/spring/rmi/RmiRegistryFactoryBean.java
b/components/camel-spring-parent/camel-spring-xml/src/test/java/org/apache/camel/spring/rmi/RmiRegistryFactoryBean.java
index 685104f7e9e3..28c7ff4f4e8c 100644
---
a/components/camel-spring-parent/camel-spring-xml/src/test/java/org/apache/camel/spring/rmi/RmiRegistryFactoryBean.java
+++
b/components/camel-spring-parent/camel-spring-xml/src/test/java/org/apache/camel/spring/rmi/RmiRegistryFactoryBean.java
@@ -127,7 +127,7 @@ public class RmiRegistryFactoryBean implements
FactoryBean<Registry>, Initializi
throws RemoteException {
if (registryHost != null) {
- // Host explictly specified: only lookup possible.
+ // Host explicitly specified: only lookup possible.
if (logger.isInfoEnabled()) {
logger.info("Looking for RMI registry at port '" +
registryPort + "' of host [" + registryHost + "]");
}
diff --git
a/components/camel-stringtemplate/src/test/java/org/apache/camel/component/stringtemplate/StringTemplateContentCacheTest.java
b/components/camel-stringtemplate/src/test/java/org/apache/camel/component/stringtemplate/StringTemplateContentCacheTest.java
index eaabd1729118..443ae03f93ea 100644
---
a/components/camel-stringtemplate/src/test/java/org/apache/camel/component/stringtemplate/StringTemplateContentCacheTest.java
+++
b/components/camel-stringtemplate/src/test/java/org/apache/camel/component/stringtemplate/StringTemplateContentCacheTest.java
@@ -29,7 +29,7 @@ import org.apache.camel.test.junit6.CamelTestSupport;
import org.junit.jupiter.api.Test;
/**
- * Unit test the cahce when reloading .tm files in the classpath
+ * Unit test the cache when reloading .tm files in the classpath
*/
public class StringTemplateContentCacheTest extends CamelTestSupport {
diff --git
a/components/camel-xmlsecurity/src/test/java/org/apache/camel/component/xmlsecurity/util/SameDocumentUriDereferencer.java
b/components/camel-xmlsecurity/src/test/java/org/apache/camel/component/xmlsecurity/util/SameDocumentUriDereferencer.java
index 753646a45432..475f4cbb64dd 100644
---
a/components/camel-xmlsecurity/src/test/java/org/apache/camel/component/xmlsecurity/util/SameDocumentUriDereferencer.java
+++
b/components/camel-xmlsecurity/src/test/java/org/apache/camel/component/xmlsecurity/util/SameDocumentUriDereferencer.java
@@ -33,7 +33,7 @@ public final class SameDocumentUriDereferencer implements
URIDereferencer {
private static final URIDereferencer INSTANCE = new
SameDocumentUriDereferencer();
private SameDocumentUriDereferencer() {
- // singelton
+ // singleton
}
public static URIDereferencer getInstance() {
diff --git
a/components/camel-xmlsecurity/src/test/java/org/apache/camel/component/xmlsecurity/util/XmlSignature2Message2MessageWithTimestampProperty.java
b/components/camel-xmlsecurity/src/test/java/org/apache/camel/component/xmlsecurity/util/XmlSignature2Message2MessageWithTimestampProperty.java
index 78a970fb2d18..fc2267d520a2 100644
---
a/components/camel-xmlsecurity/src/test/java/org/apache/camel/component/xmlsecurity/util/XmlSignature2Message2MessageWithTimestampProperty.java
+++
b/components/camel-xmlsecurity/src/test/java/org/apache/camel/component/xmlsecurity/util/XmlSignature2Message2MessageWithTimestampProperty.java
@@ -24,7 +24,7 @@ import javax.xml.crypto.dsig.Reference;
import org.apache.camel.component.xmlsecurity.api.DefaultXmlSignature2Message;
/**
- * Removes all references whose URIs contain "propert" from the relevant
references for the mapping to the camel
+ * Removes all references whose URIs contain "property" from the relevant
references for the mapping to the camel
* message.
*/
public class XmlSignature2Message2MessageWithTimestampProperty extends
DefaultXmlSignature2Message {
diff --git
a/core/camel-core/src/test/java/org/apache/camel/builder/PredicateBinaryCoerceTypeTest.java
b/core/camel-core/src/test/java/org/apache/camel/builder/PredicateBinaryCoerceTypeTest.java
index 5c8acd58edde..d321e38866c6 100644
---
a/core/camel-core/src/test/java/org/apache/camel/builder/PredicateBinaryCoerceTypeTest.java
+++
b/core/camel-core/src/test/java/org/apache/camel/builder/PredicateBinaryCoerceTypeTest.java
@@ -122,7 +122,7 @@ public class PredicateBinaryCoerceTypeTest extends
TestSupport {
@Test
public void testGreatherThanOrEqual() {
- // greather than
+ // greater than
Expression a = ExpressionBuilder.constantExpression("200");
Expression b =
ExpressionBuilder.constantExpression(Integer.valueOf("100"));
diff --git
a/core/camel-core/src/test/java/org/apache/camel/builder/RouteBuilderTest.java
b/core/camel-core/src/test/java/org/apache/camel/builder/RouteBuilderTest.java
index cd7195be9797..10b0b776939d 100644
---
a/core/camel-core/src/test/java/org/apache/camel/builder/RouteBuilderTest.java
+++
b/core/camel-core/src/test/java/org/apache/camel/builder/RouteBuilderTest.java
@@ -57,7 +57,7 @@ public class RouteBuilderTest extends TestSupport {
protected DelegateProcessor interceptor2;
protected CamelContext createCamelContext() {
- // disable stream cache otherwise to much hazzle in this unit test to
+ // disable stream cache otherwise too much hassle in this unit test to
// filter the stream cache
// in all the assertion codes
DefaultCamelContext ctx = new DefaultCamelContext();
diff --git
a/core/camel-core/src/test/java/org/apache/camel/component/dataset/DataSetProducerTest.java
b/core/camel-core/src/test/java/org/apache/camel/component/dataset/DataSetProducerTest.java
index 386b1d0ccd95..d6d7a114c08c 100644
---
a/core/camel-core/src/test/java/org/apache/camel/component/dataset/DataSetProducerTest.java
+++
b/core/camel-core/src/test/java/org/apache/camel/component/dataset/DataSetProducerTest.java
@@ -129,7 +129,7 @@ public class DataSetProducerTest extends ContextTestSupport
{
}
/**
- * Verify that the CamelDataSetIndex header is ignored when the
dataSetIndex URI paramter is set to off
+ * Verify that the CamelDataSetIndex header is ignored when the
dataSetIndex URI parameter is set to off
*/
@Test
public void
testNotSettingDataSetIndexHeaderWhenDataSetIndexUriParameterSetToOff() throws
Exception {
diff --git
a/core/camel-core/src/test/java/org/apache/camel/impl/RouteRemoveTest.java
b/core/camel-core/src/test/java/org/apache/camel/impl/RouteRemoveTest.java
index 91484f93bb90..29d8bf7e9d24 100644
--- a/core/camel-core/src/test/java/org/apache/camel/impl/RouteRemoveTest.java
+++ b/core/camel-core/src/test/java/org/apache/camel/impl/RouteRemoveTest.java
@@ -50,7 +50,7 @@ public class RouteRemoveTest extends ContextTestSupport {
assertEquals("Started",
context.getRouteController().getRouteStatus("foo").name());
assertEquals(1, context.getRoutes().size());
- // must be stopped so we cant remove
+ // must be stopped so we can't remove
boolean removed = context.removeRoute("foo");
assertFalse(removed);
diff --git
a/core/camel-core/src/test/java/org/apache/camel/impl/StartupConditionRegistryStopTest.java
b/core/camel-core/src/test/java/org/apache/camel/impl/StartupConditionRegistryStopTest.java
index 67cbb0ae0375..4ef32356d0a3 100644
---
a/core/camel-core/src/test/java/org/apache/camel/impl/StartupConditionRegistryStopTest.java
+++
b/core/camel-core/src/test/java/org/apache/camel/impl/StartupConditionRegistryStopTest.java
@@ -33,7 +33,7 @@ public class StartupConditionRegistryStopTest extends
ContextTestSupport {
@Test
public void testVetoCamelContextStart() {
context.start();
- // vetod - should not be able to start and stop camel
+ // vetoed - should not be able to start and stop camel
Assertions.assertTrue(context.getStatus().isStopped());
Assertions.assertTrue(context.isVetoStarted());
}
diff --git
a/core/camel-core/src/test/java/org/apache/camel/processor/BeanRecipientListTimeoutTest.java
b/core/camel-core/src/test/java/org/apache/camel/processor/BeanRecipientListTimeoutTest.java
index 9c72d02afc5c..605f32108e12 100644
---
a/core/camel-core/src/test/java/org/apache/camel/processor/BeanRecipientListTimeoutTest.java
+++
b/core/camel-core/src/test/java/org/apache/camel/processor/BeanRecipientListTimeoutTest.java
@@ -94,7 +94,7 @@ public class BeanRecipientListTimeoutTest extends
ContextTestSupport {
// we assert
// about the expected values directly inside the test method
itself.
// other than that
- // asserting inside a thread other than the main thread dosen't
make
+ // asserting inside a thread other than the main thread doesn't
make
// much sense as
// junit would not realize the failed assertion!
receivedExchange = oldExchange;
diff --git
a/core/camel-core/src/test/java/org/apache/camel/processor/ErrorHandlerTest.java
b/core/camel-core/src/test/java/org/apache/camel/processor/ErrorHandlerTest.java
index aec2b16663b4..3c68d3ed3731 100644
---
a/core/camel-core/src/test/java/org/apache/camel/processor/ErrorHandlerTest.java
+++
b/core/camel-core/src/test/java/org/apache/camel/processor/ErrorHandlerTest.java
@@ -46,7 +46,7 @@ public class ErrorHandlerTest extends ContextTestSupport {
MockEndpoint error = getMockEndpoint("mock:error");
MockEndpoint result = getMockEndpoint("mock:result");
error.expectedMessageCount(1);
- // we exepect the orignal input when moved to the DLC queue
+ // we expect the original input when moved to the DLC queue
error.expectedBodiesReceived("Boom");
result.expectedMessageCount(0);
diff --git
a/core/camel-core/src/test/java/org/apache/camel/processor/GenericXmlTokenizeTest.java
b/core/camel-core/src/test/java/org/apache/camel/processor/GenericXmlTokenizeTest.java
index 3aa447690259..17f1d3aa56bd 100644
---
a/core/camel-core/src/test/java/org/apache/camel/processor/GenericXmlTokenizeTest.java
+++
b/core/camel-core/src/test/java/org/apache/camel/processor/GenericXmlTokenizeTest.java
@@ -26,7 +26,7 @@ public class GenericXmlTokenizeTest extends
ContextTestSupport {
@Test
public void testSendClosedTagMessageToTokenize() throws Exception {
String message = "<?xml version='1.0' encoding='UTF-8'
?><parent><child anotherAttr='' some_attr=''></child></parent>";
- // the result is formated
+ // the result is formatted
String expectedMessage = "<child anotherAttr=\"\" some_attr=\"\"/>";
MockEndpoint resultEndpoint = getMockEndpoint("mock:result");
@@ -41,7 +41,7 @@ public class GenericXmlTokenizeTest extends
ContextTestSupport {
public void testSendSelfClosingTagMessageToTokenize() throws Exception {
String message
= "<?xml version='1.0' encoding='UTF-8' ?><parent
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'><child some_attr=''
anotherAttr='' /></parent>";
- // the result is formated
+ // the result is formatted
String expectedMessage = "<child anotherAttr=\"\" some_attr=\"\"/>";
MockEndpoint resultEndpoint = getMockEndpoint("mock:result");
diff --git
a/core/camel-core/src/test/java/org/apache/camel/processor/MulticastParallelAllTimeoutAwareTest.java
b/core/camel-core/src/test/java/org/apache/camel/processor/MulticastParallelAllTimeoutAwareTest.java
index 771528035fcd..68942e09dd6f 100644
---
a/core/camel-core/src/test/java/org/apache/camel/processor/MulticastParallelAllTimeoutAwareTest.java
+++
b/core/camel-core/src/test/java/org/apache/camel/processor/MulticastParallelAllTimeoutAwareTest.java
@@ -82,7 +82,7 @@ public class MulticastParallelAllTimeoutAwareTest extends
ContextTestSupport {
// we assert
// about the expected values directly inside the test method
itself.
// other than that
- // asserting inside a thread other than the main thread dosen't
make
+ // asserting inside a thread other than the main thread doesn't
make
// much sense as
// junit would not realize the failed assertion!
receivedExchange = oldExchange;
diff --git
a/core/camel-core/src/test/java/org/apache/camel/processor/MulticastParallelFineGrainedErrorHandlingTest.java
b/core/camel-core/src/test/java/org/apache/camel/processor/MulticastParallelFineGrainedErrorHandlingTest.java
index a036ae494638..3994bce3fbc4 100644
---
a/core/camel-core/src/test/java/org/apache/camel/processor/MulticastParallelFineGrainedErrorHandlingTest.java
+++
b/core/camel-core/src/test/java/org/apache/camel/processor/MulticastParallelFineGrainedErrorHandlingTest.java
@@ -62,7 +62,7 @@ public class MulticastParallelFineGrainedErrorHandlingTest
extends ContextTestSu
context.start();
getMockEndpoint("mock:a").expectedMessageCount(1);
- // stop on exception can cause tasks which hasnt been started yet to
not
+ // stop on exception can cause tasks which hasn't been started yet to
not
// run
// so it can either be 0 or 1 message
getMockEndpoint("mock:foo").expectedMinimumMessageCount(0);
diff --git
a/core/camel-core/src/test/java/org/apache/camel/processor/MulticastParallelTimeoutAwareTest.java
b/core/camel-core/src/test/java/org/apache/camel/processor/MulticastParallelTimeoutAwareTest.java
index 9fd1bd8c6ca5..d232f1e83458 100644
---
a/core/camel-core/src/test/java/org/apache/camel/processor/MulticastParallelTimeoutAwareTest.java
+++
b/core/camel-core/src/test/java/org/apache/camel/processor/MulticastParallelTimeoutAwareTest.java
@@ -80,7 +80,7 @@ public class MulticastParallelTimeoutAwareTest extends
ContextTestSupport {
// we assert
// about the expected values directly inside the test method
itself.
// other than that
- // asserting inside a thread other than the main thread dosen't
make
+ // asserting inside a thread other than the main thread doesn't
make
// much sense as
// junit would not realize the failed assertion!
receivedExchange = oldExchange;
diff --git
a/core/camel-core/src/test/java/org/apache/camel/processor/OnCompletionAndInterceptGlobalTest.java
b/core/camel-core/src/test/java/org/apache/camel/processor/OnCompletionAndInterceptGlobalTest.java
index 587448758fbe..df42631b7b88 100644
---
a/core/camel-core/src/test/java/org/apache/camel/processor/OnCompletionAndInterceptGlobalTest.java
+++
b/core/camel-core/src/test/java/org/apache/camel/processor/OnCompletionAndInterceptGlobalTest.java
@@ -70,7 +70,7 @@ public class OnCompletionAndInterceptGlobalTest extends
ContextTestSupport {
intercept().to("mock:intercept");
// define a global on completion that is invoked when the
- // exchage is complete
+ // exchange is complete
onCompletion().to("log:global").to("mock:sync");
// START SNIPPET: e1
diff --git
a/core/camel-core/src/test/java/org/apache/camel/processor/OnCompletionMoreGlobalTest.java
b/core/camel-core/src/test/java/org/apache/camel/processor/OnCompletionMoreGlobalTest.java
index d695fefbce32..a78c54489e4e 100644
---
a/core/camel-core/src/test/java/org/apache/camel/processor/OnCompletionMoreGlobalTest.java
+++
b/core/camel-core/src/test/java/org/apache/camel/processor/OnCompletionMoreGlobalTest.java
@@ -73,7 +73,7 @@ public class OnCompletionMoreGlobalTest extends
ContextTestSupport {
public void configure() {
// START SNIPPET: e1
// define a global on completion that is invoked when the
- // exchage is complete
+ // exchange is complete
onCompletion().to("log:global").to("mock:sync");
// we can define multiple on completion as we like as this is
diff --git
a/core/camel-core/src/test/java/org/apache/camel/processor/OnCompletionOnCompleteOnlyTest.java
b/core/camel-core/src/test/java/org/apache/camel/processor/OnCompletionOnCompleteOnlyTest.java
index e22dfd907f77..c3285cd4b290 100644
---
a/core/camel-core/src/test/java/org/apache/camel/processor/OnCompletionOnCompleteOnlyTest.java
+++
b/core/camel-core/src/test/java/org/apache/camel/processor/OnCompletionOnCompleteOnlyTest.java
@@ -59,7 +59,7 @@ public class OnCompletionOnCompleteOnlyTest extends
OnCompletionTest {
.onCompletion().onCompleteOnly().to("log:sync").to("mock:sync")
// must use end to denote the end of the onCompletion
route
.end()
- // here the original route contiues
+ // here the original route continues
.process(new MyProcessor()).to("mock:result");
// END SNIPPET: e1
}
diff --git
a/core/camel-core/src/test/java/org/apache/camel/processor/OnCompletionRouteScopeOverrideGlobalScopeTest.java
b/core/camel-core/src/test/java/org/apache/camel/processor/OnCompletionRouteScopeOverrideGlobalScopeTest.java
index c40d81e6a3b0..94e399cbb749 100644
---
a/core/camel-core/src/test/java/org/apache/camel/processor/OnCompletionRouteScopeOverrideGlobalScopeTest.java
+++
b/core/camel-core/src/test/java/org/apache/camel/processor/OnCompletionRouteScopeOverrideGlobalScopeTest.java
@@ -68,7 +68,7 @@ public class OnCompletionRouteScopeOverrideGlobalScopeTest
extends ContextTestSu
@Override
public void configure() {
// define a global on completion that is invoked when the
- // exchage is complete
+ // exchange is complete
onCompletion().to("log:global").to("mock:global");
// START SNIPPET: e1
diff --git
a/core/camel-core/src/test/java/org/apache/camel/processor/OnCompletionTest.java
b/core/camel-core/src/test/java/org/apache/camel/processor/OnCompletionTest.java
index aa41198b6ed0..43250bc88cda 100644
---
a/core/camel-core/src/test/java/org/apache/camel/processor/OnCompletionTest.java
+++
b/core/camel-core/src/test/java/org/apache/camel/processor/OnCompletionTest.java
@@ -75,7 +75,7 @@ public class OnCompletionTest extends ContextTestSupport {
.to("log:sync").to("mock:sync")
// must use end to denote the end of the onCompletion
route
.end()
- // here the original route contiues
+ // here the original route continues
.process(new MyProcessor()).to("mock:result");
// END SNIPPET: e1
}
diff --git
a/core/camel-core/src/test/java/org/apache/camel/processor/OnCompletionWhenTest.java
b/core/camel-core/src/test/java/org/apache/camel/processor/OnCompletionWhenTest.java
index aa1ed2bcba00..795208a1b0de 100644
---
a/core/camel-core/src/test/java/org/apache/camel/processor/OnCompletionWhenTest.java
+++
b/core/camel-core/src/test/java/org/apache/camel/processor/OnCompletionWhenTest.java
@@ -63,7 +63,7 @@ public class OnCompletionWhenTest extends ContextTestSupport {
.to("log:sync").to("mock:sync")
// must use end to denote the end of the onCompletion
route
.end()
- // here the original route contiues
+ // here the original route continues
.to("log:original").to("mock:result");
// END SNIPPET: e1
}
diff --git
a/core/camel-core/src/test/java/org/apache/camel/processor/SplitParallelTimeoutTest.java
b/core/camel-core/src/test/java/org/apache/camel/processor/SplitParallelTimeoutTest.java
index ffe59584d3f7..574fc73f63f3 100644
---
a/core/camel-core/src/test/java/org/apache/camel/processor/SplitParallelTimeoutTest.java
+++
b/core/camel-core/src/test/java/org/apache/camel/processor/SplitParallelTimeoutTest.java
@@ -100,7 +100,7 @@ public class SplitParallelTimeoutTest extends
ContextTestSupport {
// we assert
// about the expected values directly inside the test method
itself.
// other than that
- // asserting inside a thread other than the main thread dosen't
make
+ // asserting inside a thread other than the main thread doesn't
make
// much sense as
// junit would not realize the failed assertion!
receivedExchange = oldExchange;
diff --git
a/core/camel-core/src/test/java/org/apache/camel/processor/SplitterPojoTest.java
b/core/camel-core/src/test/java/org/apache/camel/processor/SplitterPojoTest.java
index 1f39a5b7190f..bbce9c23b669 100644
---
a/core/camel-core/src/test/java/org/apache/camel/processor/SplitterPojoTest.java
+++
b/core/camel-core/src/test/java/org/apache/camel/processor/SplitterPojoTest.java
@@ -93,7 +93,7 @@ public class SplitterPojoTest extends ContextTestSupport {
public static class MySplitterBean {
/**
- * The split body method returns something that is iteratable such as
a java.util.List.
+ * The split body method returns something that is iterable such as a
java.util.List.
*
* @param body the payload of the incoming message
* @return a list containing each part split
@@ -110,7 +110,7 @@ public class SplitterPojoTest extends ContextTestSupport {
}
/**
- * The split message method returns something that is iteratable such
as a java.util.List.
+ * The split message method returns something that is iterable such as
a java.util.List.
*
* @param header the header of the incoming message with the name user
* @param body the payload of the incoming message
diff --git
a/core/camel-core/src/test/java/org/apache/camel/processor/TransformProcessorWithHeaderTest.java
b/core/camel-core/src/test/java/org/apache/camel/processor/TransformProcessorWithHeaderTest.java
index f5437a18b784..afc644e1c427 100644
---
a/core/camel-core/src/test/java/org/apache/camel/processor/TransformProcessorWithHeaderTest.java
+++
b/core/camel-core/src/test/java/org/apache/camel/processor/TransformProcessorWithHeaderTest.java
@@ -22,7 +22,7 @@ import org.apache.camel.component.mock.MockEndpoint;
import org.junit.jupiter.api.Test;
/**
- * Unit test to verify that headers can be propogated with the transform DSL.
+ * Unit test to verify that headers can be propagated with the transform DSL.
*/
public class TransformProcessorWithHeaderTest extends ContextTestSupport {
diff --git
a/core/camel-core/src/test/java/org/apache/camel/processor/TryProcessorOnWhenTest.java
b/core/camel-core/src/test/java/org/apache/camel/processor/TryProcessorOnWhenTest.java
index aa5417e9feaa..a545399d8eb1 100644
---
a/core/camel-core/src/test/java/org/apache/camel/processor/TryProcessorOnWhenTest.java
+++
b/core/camel-core/src/test/java/org/apache/camel/processor/TryProcessorOnWhenTest.java
@@ -109,8 +109,8 @@ public class TryProcessorOnWhenTest extends
ContextTestSupport {
.doTry().process(new ProcessorFail()).to("mock:result")
// here we catch the following 2 exceptions but only if
// the onWhen predicate matches, eg if the exception
- // messsage
- // conatins the string word Damn
+ // message
+ // contains the string word Damn
.doCatch(IOException.class,
IllegalStateException.class).onWhen(exceptionMessage().contains("Damn"))
.to("mock:catch")
// another catch for CamelExchangeException that does
not
diff --git
a/core/camel-core/src/test/java/org/apache/camel/processor/ValidationFinallyBlockNoCatchTest.java
b/core/camel-core/src/test/java/org/apache/camel/processor/ValidationFinallyBlockNoCatchTest.java
index 9303c191bd1e..b5d9c72ae0d9 100644
---
a/core/camel-core/src/test/java/org/apache/camel/processor/ValidationFinallyBlockNoCatchTest.java
+++
b/core/camel-core/src/test/java/org/apache/camel/processor/ValidationFinallyBlockNoCatchTest.java
@@ -52,7 +52,7 @@ public class ValidationFinallyBlockNoCatchTest extends
ContextTestSupport {
// the dead letter queue
allEndpoint.expectedMessageCount(1);
- // regular error handler is disbled for try .. catch .. finally
+ // regular error handler is disabled for try .. catch .. finally
deadEndpoint.expectedMessageCount(0);
assertThrows(Exception.class,
diff --git
a/core/camel-core/src/test/java/org/apache/camel/processor/aggregator/AggregateTimeoutTest.java
b/core/camel-core/src/test/java/org/apache/camel/processor/aggregator/AggregateTimeoutTest.java
index 9e23f461fcd8..c50b46f1fad2 100644
---
a/core/camel-core/src/test/java/org/apache/camel/processor/aggregator/AggregateTimeoutTest.java
+++
b/core/camel-core/src/test/java/org/apache/camel/processor/aggregator/AggregateTimeoutTest.java
@@ -101,7 +101,7 @@ public class AggregateTimeoutTest extends
ContextTestSupport {
// we assert
// about the expected values directly inside the test method
itself.
// other than that
- // asserting inside a thread other than the main thread dosen't
make
+ // asserting inside a thread other than the main thread doesn't
make
// much sense as
// junit would not realize the failed assertion!
receivedExchange = oldExchange;
diff --git
a/core/camel-core/src/test/java/org/apache/camel/processor/aggregator/DistributedTimeoutTest.java
b/core/camel-core/src/test/java/org/apache/camel/processor/aggregator/DistributedTimeoutTest.java
index 869fa25ce270..ad386dfee048 100644
---
a/core/camel-core/src/test/java/org/apache/camel/processor/aggregator/DistributedTimeoutTest.java
+++
b/core/camel-core/src/test/java/org/apache/camel/processor/aggregator/DistributedTimeoutTest.java
@@ -106,7 +106,7 @@ class DistributedTimeoutTest extends
AbstractDistributedTest {
// we assert
// about the expected values directly inside the test method
itself.
// other than that
- // asserting inside a thread other than the main thread dosen't
make
+ // asserting inside a thread other than the main thread doesn't
make
// much sense as
// junit would not realize the failed assertion!
receivedExchange = oldExchange;
diff --git
a/core/camel-core/src/test/java/org/apache/camel/processor/intercept/InterceptFromSimpleLogTest.java
b/core/camel-core/src/test/java/org/apache/camel/processor/intercept/InterceptFromSimpleLogTest.java
index 3a88aee2fdc1..144e4cf13a6b 100644
---
a/core/camel-core/src/test/java/org/apache/camel/processor/intercept/InterceptFromSimpleLogTest.java
+++
b/core/camel-core/src/test/java/org/apache/camel/processor/intercept/InterceptFromSimpleLogTest.java
@@ -40,7 +40,7 @@ public class InterceptFromSimpleLogTest extends
ContextTestSupport {
return new RouteBuilder() {
public void configure() {
// START SNIPPET: e1
- // intercept all incomming routes and log it
+ // intercept all incoming routes and log it
interceptFrom().to("log:received");
// and here we have a couple of routes
diff --git
a/core/camel-core/src/test/java/org/apache/camel/urlhandler/pd/Handler.java
b/core/camel-core/src/test/java/org/apache/camel/urlhandler/pd/Handler.java
index 90f8f9b8f739..cdb0e197286b 100644
--- a/core/camel-core/src/test/java/org/apache/camel/urlhandler/pd/Handler.java
+++ b/core/camel-core/src/test/java/org/apache/camel/urlhandler/pd/Handler.java
@@ -49,7 +49,7 @@ public class Handler extends ResourceResolverSupport {
" <xsd:element
name=\"TestMessage\" type=\"TestMessage\" />" +
"</xsd:schema>";
- // correct element name, the validation will be corerct
+ // correct element name, the validation will be correct
private static final String XSD_TEMPLATE_2 =
XSD_TEMPLATE_1.replace("\"Content\"", "\"MessageContent\"");
private final AtomicInteger counter;