This is an automated email from the ASF dual-hosted git repository. aldettinger 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 9da8cbb Fixed typos 9da8cbb is described below commit 9da8cbb6eaac01c505653b48a2b1c914b7066230 Author: aldettinger <aldettin...@gmail.com> AuthorDate: Tue Nov 13 22:19:42 2018 +0100 Fixed typos --- .../apache/camel/component/file/GenericFileOperations.java | 2 +- camel-core/src/main/java/org/apache/camel/spi/Policy.java | 2 +- .../org/apache/camel/impl/ComponentConfigurationTest.java | 2 +- components/camel-cxf/src/main/docs/cxf-component.adoc | 4 ++-- .../org/apache/camel/component/cxf/CxfProducerTest.java | 2 +- components/camel-hdfs2/src/test/resources/hdfs-default.xml | 4 ++-- components/camel-hdfs2/src/test/resources/hdfs-test.xml | 4 ++-- .../internal/client/DefaultCompositeApiClient.java | 4 ++-- .../camel/component/salesforce/LoginConfigHelper.java | 2 +- .../salesforce/api/dto/approval/ApprovalRequestTest.java | 6 +++--- components/camel-scala/src/main/docs/scala-eip.adoc | 2 +- .../iso_schematron_skeleton_for_saxon.xsl | 2 +- .../java/org/apache/camel/component/smpp/SmppSplitter.java | 8 ++++---- .../boot/SupervisingRouteControllerAutoConfiguration.java | 2 +- .../spring/ws/addressing/ProducerParamsPrecedenceTest.java | 2 +- .../camel-urlrewrite/src/test/resources/urlrewrite.xml | 2 +- .../xmlsecurity/api/XAdESSignatureProperties.java | 14 +++++++------- .../xmlsecurity/XAdESSignaturePropertiesTest.java | 14 +++++++------- docs/user-manual/en/scala-dsl-eip.adoc | 2 +- docs/user-manual/en/servicepool.adoc | 2 +- .../camel/example/micrometer/ScrapeRouteBuilder.java | 2 +- .../org/apache/camel/itest/greeter/JmsToCxfInOutTest.java | 2 +- 22 files changed, 43 insertions(+), 43 deletions(-) diff --git a/camel-core/src/main/java/org/apache/camel/component/file/GenericFileOperations.java b/camel-core/src/main/java/org/apache/camel/component/file/GenericFileOperations.java index 9d1b3c8..aaeb3df 100644 --- a/camel-core/src/main/java/org/apache/camel/component/file/GenericFileOperations.java +++ b/camel-core/src/main/java/org/apache/camel/component/file/GenericFileOperations.java @@ -62,7 +62,7 @@ public interface GenericFileOperations<T> { * folder already exists. * * @param directory the directory path to build as a relative string name - * @param absolute wether the directory is an absolute or relative path + * @param absolute whether the directory is an absolute or relative path * @return true if build or already exists, false if not possible (could be lack of permissions) * @throws GenericFileOperationFailedException can be thrown */ diff --git a/camel-core/src/main/java/org/apache/camel/spi/Policy.java b/camel-core/src/main/java/org/apache/camel/spi/Policy.java index aa806f6..b5f91d9 100644 --- a/camel-core/src/main/java/org/apache/camel/spi/Policy.java +++ b/camel-core/src/main/java/org/apache/camel/spi/Policy.java @@ -41,7 +41,7 @@ public interface Policy { * Hook invoked before the wrap. * <p/> * This allows you to do any custom logic before the processor is wrapped. For example to - * manipulate the {@link org.apache.camel.model.ProcessorDefinition definiton} + * manipulate the {@link org.apache.camel.model.ProcessorDefinition definition} * * @param routeContext the route context * @param definition the processor definition diff --git a/camel-core/src/test/java/org/apache/camel/impl/ComponentConfigurationTest.java b/camel-core/src/test/java/org/apache/camel/impl/ComponentConfigurationTest.java index 4d1a80b..b3da6da 100644 --- a/camel-core/src/test/java/org/apache/camel/impl/ComponentConfigurationTest.java +++ b/camel-core/src/test/java/org/apache/camel/impl/ComponentConfigurationTest.java @@ -278,7 +278,7 @@ public class ComponentConfigurationTest { /** * Shows we can introspect the parameters of a DefaultComponent (i.e. a non {@link UriEndpointComponent}) - * though we only get to introspect the parameter values from teh current configuration + * though we only get to introspect the parameter values from the current configuration */ @Test public void testIntrospectDefaultComponentParameters() throws Exception { diff --git a/components/camel-cxf/src/main/docs/cxf-component.adoc b/components/camel-cxf/src/main/docs/cxf-component.adoc index df9ea78..bb006a5e 100644 --- a/components/camel-cxf/src/main/docs/cxf-component.adoc +++ b/components/camel-cxf/src/main/docs/cxf-component.adoc @@ -812,7 +812,7 @@ response context with the following code: // Get the response context form outMessage Map<String, Object> responseContext = CastUtils.cast((Map)out.getHeader(Client.RESPONSE_CONTEXT)); assertNotNull(responseContext); - assertEquals("Get the wrong wsdl opertion name", "{http://apache.org/hello_world_soap_http}greetMe", + assertEquals("Get the wrong wsdl operation name", "{http://apache.org/hello_world_soap_http}greetMe", responseContext.get("javax.xml.ws.wsdl.operation").toString()); ------------------------------------------------------------------------------------------------------------- @@ -824,7 +824,7 @@ Attachment is not tested. Since attachments are marshalled and unmarshalled into POJOs, users typically do not need to deal with the attachment themself. Attachments are propagated to Camel message's attachments if the MTOM is not enabled, since Camel 2.12.3. So, it is -possible to retreive attachments by Camel Message API +possible to retrieve attachments by Camel Message API [source,java] -------------------------------------------- diff --git a/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CxfProducerTest.java b/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CxfProducerTest.java index 7b0a4f1..6df4442 100644 --- a/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CxfProducerTest.java +++ b/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CxfProducerTest.java @@ -155,7 +155,7 @@ public class CxfProducerTest extends Assert { LOG.info("Received output text: " + result); Map<String, Object> responseContext = CastUtils.cast((Map<?, ?>)out.getHeader(Client.RESPONSE_CONTEXT)); assertNotNull(responseContext); - assertEquals("Get the wrong wsdl opertion name", "{http://apache.org/hello_world_soap_http}greetMe", responseContext.get("javax.xml.ws.wsdl.operation").toString()); + assertEquals("Get the wrong wsdl operation name", "{http://apache.org/hello_world_soap_http}greetMe", responseContext.get("javax.xml.ws.wsdl.operation").toString()); assertEquals("reply body on Camel", "Hello " + TEST_MESSAGE, result); // check the other camel header copying diff --git a/components/camel-hdfs2/src/test/resources/hdfs-default.xml b/components/camel-hdfs2/src/test/resources/hdfs-default.xml index 4143e08..53af074 100644 --- a/components/camel-hdfs2/src/test/resources/hdfs-default.xml +++ b/components/camel-hdfs2/src/test/resources/hdfs-default.xml @@ -690,8 +690,8 @@ <value>${dfs.namenode.checkpoint.dir}</value> <description>Determines where on the local filesystem the DFS secondary name node should store the temporary edits to merge. - If this is a comma-delimited list of directoires then teh edits is - replicated in all of the directoires for redundancy. + If this is a comma-delimited list of directories then the edits is + replicated in all of the directories for redundancy. Default value is same as dfs.namenode.checkpoint.dir </description> </property> diff --git a/components/camel-hdfs2/src/test/resources/hdfs-test.xml b/components/camel-hdfs2/src/test/resources/hdfs-test.xml index 5462dbe..931556e 100644 --- a/components/camel-hdfs2/src/test/resources/hdfs-test.xml +++ b/components/camel-hdfs2/src/test/resources/hdfs-test.xml @@ -690,8 +690,8 @@ <value>${dfs.namenode.checkpoint.dir}</value> <description>Determines where on the local filesystem the DFS secondary name node should store the temporary edits to merge. - If this is a comma-delimited list of directoires then teh edits is - replicated in all of the directoires for redundancy. + If this is a comma-delimited list of directories then the edits is + replicated in all of the directories for redundancy. Default value is same as dfs.namenode.checkpoint.dir </description> </property> diff --git a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/internal/client/DefaultCompositeApiClient.java b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/internal/client/DefaultCompositeApiClient.java index 1777f0c..f95c8e5 100644 --- a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/internal/client/DefaultCompositeApiClient.java +++ b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/internal/client/DefaultCompositeApiClient.java @@ -74,7 +74,7 @@ public class DefaultCompositeApiClient extends AbstractClientBase implements Com private final Map<Class<?>, ObjectReader> readers = new HashMap<>(); - private final Map<Class<?>, ObjectWriter> writters = new HashMap<>(); + private final Map<Class<?>, ObjectWriter> writers = new HashMap<>(); private final XStream xStreamCompositeBatch; @@ -183,7 +183,7 @@ public class DefaultCompositeApiClient extends AbstractClientBase implements Com ObjectWriter jsonWriterFor(final Object obj) { final Class<?> type = obj.getClass(); - return Optional.ofNullable(writters.get(type)).orElseGet(() -> mapper.writerFor(type)); + return Optional.ofNullable(writers.get(type)).orElseGet(() -> mapper.writerFor(type)); } ContentProvider serialize(final XStream xstream, final Object body, final Class<?>... additionalTypes) diff --git a/components/camel-salesforce/camel-salesforce-component/src/test/java/org/apache/camel/component/salesforce/LoginConfigHelper.java b/components/camel-salesforce/camel-salesforce-component/src/test/java/org/apache/camel/component/salesforce/LoginConfigHelper.java index fa3be30..f19658d 100644 --- a/components/camel-salesforce/camel-salesforce-component/src/test/java/org/apache/camel/component/salesforce/LoginConfigHelper.java +++ b/components/camel-salesforce/camel-salesforce-component/src/test/java/org/apache/camel/component/salesforce/LoginConfigHelper.java @@ -112,7 +112,7 @@ public final class LoginConfigHelper { System.out.println("| salesforce.keystore.password | SALESFORCE_KEYSTORE_PASSWORD | JWT |"); System.out.println("| salesforce.login.url | SALESFORCE_LOGIN_URL | ALL |"); System.out.println(); - System.out.println("* ALL - required allways"); + System.out.println("* ALL - required always"); System.out.println("* UP - when using username and password authentication"); System.out.println("* RT - when using refresh token flow"); System.out.println("* JWT - when using JWT flow"); diff --git a/components/camel-salesforce/camel-salesforce-component/src/test/java/org/apache/camel/component/salesforce/api/dto/approval/ApprovalRequestTest.java b/components/camel-salesforce/camel-salesforce-component/src/test/java/org/apache/camel/component/salesforce/api/dto/approval/ApprovalRequestTest.java index ddc7d7b..b264645 100644 --- a/components/camel-salesforce/camel-salesforce-component/src/test/java/org/apache/camel/component/salesforce/api/dto/approval/ApprovalRequestTest.java +++ b/components/camel-salesforce/camel-salesforce-component/src/test/java/org/apache/camel/component/salesforce/api/dto/approval/ApprovalRequestTest.java @@ -67,9 +67,9 @@ public class ApprovalRequestTest { assertThat("Combined approval request should be a new instance", combined, both(not(sameInstance(request))).and(not(sameInstance(template)))); - assertEquals("Action type should not be overwriten", request.getActionType(), combined.getActionType()); - assertEquals("Comment should not be overwriten", request.getComments(), combined.getComments()); - assertEquals("Context id should not be overwriten", request.getContextId(), combined.getContextId()); + assertEquals("Action type should not be overwritten", request.getActionType(), combined.getActionType()); + assertEquals("Comment should not be overwritten", request.getComments(), combined.getComments()); + assertEquals("Context id should not be overwritten", request.getContextId(), combined.getContextId()); assertEquals("Next approver id should be taken from template", template.getNextApproverIds(), combined.getNextApproverIds()); } diff --git a/components/camel-scala/src/main/docs/scala-eip.adoc b/components/camel-scala/src/main/docs/scala-eip.adoc index 1922ea5..ce363b9 100644 --- a/components/camel-scala/src/main/docs/scala-eip.adoc +++ b/components/camel-scala/src/main/docs/scala-eip.adoc @@ -118,7 +118,7 @@ Delayer +++++++ Unlike a throttler, which only slows down messages if the rate exceeds a -treshold, a delayer delays every messages with a fixed amount of time. +threshold, a delayer delays every messages with a fixed amount of time. An example: to delay every message going from `seda:a` to `mock:a` with 1 second, you write... diff --git a/components/camel-schematron/src/main/resources/iso-schematron-xslt2/iso_schematron_skeleton_for_saxon.xsl b/components/camel-schematron/src/main/resources/iso-schematron-xslt2/iso_schematron_skeleton_for_saxon.xsl index 3142878..6dbbe5b 100644 --- a/components/camel-schematron/src/main/resources/iso-schematron-xslt2/iso_schematron_skeleton_for_saxon.xsl +++ b/components/camel-schematron/src/main/resources/iso-schematron-xslt2/iso_schematron_skeleton_for_saxon.xsl @@ -2207,7 +2207,7 @@ which require a preprocess. message text is taken from the strings below. We use XHTML, to provide the namespace. - If the $langCode is somethign else, then the XSLT engine will try to + If the $langCode is something else, then the XSLT engine will try to find a file called sch-messages-$langCode.xhtml in the same directory as this stylesheet. Expect a fatal error if the file does not exist. diff --git a/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/SmppSplitter.java b/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/SmppSplitter.java index 3c79eee..89bce93 100644 --- a/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/SmppSplitter.java +++ b/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/SmppSplitter.java @@ -49,9 +49,9 @@ public class SmppSplitter { /** * The value that identifier length of the SAR fragment. * <p/> - * {@code 0x00} value must be used if the legnth of the reference number is + * {@code 0x00} value must be used if the length of the reference number is * 1 byte.<br/> - * {@code 0x08} value must be used if the legnth of the reference number is + * {@code 0x08} value must be used if the length of the reference number is * 2 bytes. */ protected static final byte UDHIE_IDENTIFIER_SAR = 0x00; @@ -59,9 +59,9 @@ public class SmppSplitter { /** * The length of the SAR fragment. * <p/> - * {@code 0x03} value must be used if the legnth of the reference number is + * {@code 0x03} value must be used if the length of the reference number is * 1 byte.<br/> - * {@code 0x04} value must be used if the legnth of the reference number is + * {@code 0x04} value must be used if the length of the reference number is * 2 bytes. */ protected static final byte UDHIE_SAR_LENGTH = 0x03; diff --git a/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/SupervisingRouteControllerAutoConfiguration.java b/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/SupervisingRouteControllerAutoConfiguration.java index 0ac9994..9d56820 100644 --- a/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/SupervisingRouteControllerAutoConfiguration.java +++ b/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/SupervisingRouteControllerAutoConfiguration.java @@ -71,7 +71,7 @@ public class SupervisingRouteControllerAutoConfiguration { // Mark this route as excluded from supervisor controller.addFilter(new SupervisingRouteControllerFilters.BlackList(entry.getKey())); } else { - // configure teh route + // configure the route controller.setBackOff(entry.getKey(), configureBackOff(defaultBackOff, cfg.getBackOff())); } } diff --git a/components/camel-spring-ws/src/test/java/org/apache/camel/component/spring/ws/addressing/ProducerParamsPrecedenceTest.java b/components/camel-spring-ws/src/test/java/org/apache/camel/component/spring/ws/addressing/ProducerParamsPrecedenceTest.java index 7e91369..8d3df0c 100644 --- a/components/camel-spring-ws/src/test/java/org/apache/camel/component/spring/ws/addressing/ProducerParamsPrecedenceTest.java +++ b/components/camel-spring-ws/src/test/java/org/apache/camel/component/spring/ws/addressing/ProducerParamsPrecedenceTest.java @@ -149,7 +149,7 @@ public class ProducerParamsPrecedenceTest extends CamelSpringTestSupport { 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 - // otherwise it woudl be here annonymous + // otherwise it would be here anonymous Assertions.assertThat(wsaProperties.getReplyTo().getAddress()).isEqualTo(new URI("http://replyPrecedence.to")); } diff --git a/components/camel-urlrewrite/src/test/resources/urlrewrite.xml b/components/camel-urlrewrite/src/test/resources/urlrewrite.xml index 5c07d1d..1bfb4a4 100644 --- a/components/camel-urlrewrite/src/test/resources/urlrewrite.xml +++ b/components/camel-urlrewrite/src/test/resources/urlrewrite.xml @@ -44,7 +44,7 @@ the url /rewrite-status will be rewritten to /test/status/. The above rule and this outbound-rule means that end users should never see the - url /rewrite-status only /test/status/ both in thier location bar and in hyperlinks + url /rewrite-status only /test/status/ both in their location bar and in hyperlinks in your pages. </note> <from>/rewrite-status</from> diff --git a/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/api/XAdESSignatureProperties.java b/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/api/XAdESSignatureProperties.java index a83b39e..594dbdb 100644 --- a/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/api/XAdESSignatureProperties.java +++ b/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/api/XAdESSignatureProperties.java @@ -721,7 +721,7 @@ public class XAdESSignatureProperties implements XmlSignatureProperties { if (!qualifiers.isEmpty()) { Element qualifiersEl = createElement("CommitmentTypeQualifiers", doc, input); commitmentTypeIndication.appendChild(qualifiersEl); - String errorMessage = "The XAdES confguration is invalid. The list of the commitment type qualifiers contains the invalid entry '%s'. An entry must either be a text or an XML fragment " + String errorMessage = "The XAdES configuration is invalid. The list of the commitment type qualifiers contains the invalid entry '%s'. An entry must either be a text or an XML fragment " + "with the root element '%s' with the namespace '%s'."; for (String qualifier : getCommitmentTypeQualifiers()) { Element qualifierEl = createChildFromXmlFragmentOrText(doc, input, "CommitmentTypeQualifier", errorMessage, qualifier); @@ -868,7 +868,7 @@ public class XAdESSignatureProperties implements XmlSignatureProperties { LOG.debug("Adding claimed roles"); Element claimedRolesEl = createElement("ClaimedRoles", doc, input); signerRole.appendChild(claimedRolesEl); - String errorMessage = "The XAdES confguration is invalid. The list of the claimed roles contains the invalid entry '%s'." + String errorMessage = "The XAdES configuration is invalid. The list of the claimed roles contains the invalid entry '%s'." + " An entry must either be a text or an XML fragment with the root element '%s' with the namespace '%s'."; for (String claimedRole : claimedRoles) { Element claimedRoleEl = createChildFromXmlFragmentOrText(doc, input, "ClaimedRole", errorMessage, claimedRole); @@ -916,7 +916,7 @@ public class XAdESSignatureProperties implements XmlSignatureProperties { Element identifier = createElement("Identifier", doc, input); sigPolicyId.appendChild(identifier); if (getSigPolicyId() == null || getSigPolicyId().isEmpty()) { - throw new XmlSignatureException("The XAdES-EPES confguration is invalid. The signature policy identifier is missing."); + throw new XmlSignatureException("The XAdES-EPES configuration is invalid. The signature policy identifier is missing."); } identifier.setTextContent(getSigPolicyId()); if (getSigPolicyIdQualifier() != null && !getSigPolicyIdQualifier().isEmpty()) { @@ -942,14 +942,14 @@ public class XAdESSignatureProperties implements XmlSignatureProperties { id.appendChild(sigPolicyHash); if (getSignaturePolicyDigestAlgorithm() == null || getSignaturePolicyDigestAlgorithm().isEmpty()) { throw new XmlSignatureException( - "The XAdES-EPES confguration is invalid. The digest algorithm for the signature policy is missing."); + "The XAdES-EPES configuration is invalid. The digest algorithm for the signature policy is missing."); } Element digestMethod = createDigSigElement("DigestMethod", doc, input.getPrefixForXmlSignatureNamespace()); sigPolicyHash.appendChild(digestMethod); setAttribute(digestMethod, "Algorithm", getSignaturePolicyDigestAlgorithm()); if (getSignaturePolicyDigestValue() == null || getSignaturePolicyDigestValue().isEmpty()) { throw new XmlSignatureException( - "The XAdES-EPES confguration is invalid. The digest value for the signature policy is missing."); + "The XAdES-EPES configuration is invalid. The digest value for the signature policy is missing."); } Element digestValue = createDigSigElement("DigestValue", doc, input.getPrefixForXmlSignatureNamespace()); sigPolicyHash.appendChild(digestValue); @@ -959,7 +959,7 @@ public class XAdESSignatureProperties implements XmlSignatureProperties { if (!qualifiers.isEmpty()) { Element qualifiersEl = createElement("SigPolicyQualifiers", doc, input); id.appendChild(qualifiersEl); - String errorMessage = "The XAdES confguration is invalid. The list of the signatue policy qualifiers contains the invalid entry '%s'." + String errorMessage = "The XAdES configuration is invalid. The list of the signatue policy qualifiers contains the invalid entry '%s'." + " An entry must either be a text or an XML fragment with the root element '%s' with the namespace '%s'."; for (String elementOrText : getSigPolicyQualifiers()) { Element child = createChildFromXmlFragmentOrText(doc, input, "SigPolicyQualifier", errorMessage, elementOrText); @@ -992,7 +992,7 @@ public class XAdESSignatureProperties implements XmlSignatureProperties { if (!ns.equals(child.getNamespaceURI())) { throw new XmlSignatureException( String.format( - "The XAdES confguration is invalid. The root element '%s' of the provided XML fragment '%s' has the invalid namespace '%s'. The correct namespace is '%s'.", + "The XAdES configuration is invalid. The root element '%s' of the provided XML fragment '%s' has the invalid namespace '%s'. The correct namespace is '%s'.", child.getLocalName(), elementOrText, child.getNamespaceURI(), ns)); } } catch (SAXException e) { diff --git a/components/camel-xmlsecurity/src/test/java/org/apache/camel/component/xmlsecurity/XAdESSignaturePropertiesTest.java b/components/camel-xmlsecurity/src/test/java/org/apache/camel/component/xmlsecurity/XAdESSignaturePropertiesTest.java index c4eceb4..7ba603b 100644 --- a/components/camel-xmlsecurity/src/test/java/org/apache/camel/component/xmlsecurity/XAdESSignaturePropertiesTest.java +++ b/components/camel-xmlsecurity/src/test/java/org/apache/camel/component/xmlsecurity/XAdESSignaturePropertiesTest.java @@ -505,7 +505,7 @@ public class XAdESSignaturePropertiesTest extends CamelTestSupport { sendBody("direct:enveloping", payload, Collections.<String, Object> emptyMap()); assertMockEndpointsSatisfied(); checkThrownException(mock, XmlSignatureException.class, - "The XAdES-EPES confguration is invalid. The signature policy identifier is missing.", null); + "The XAdES-EPES configuration is invalid. The signature policy identifier is missing.", null); } @Test @@ -527,7 +527,7 @@ public class XAdESSignaturePropertiesTest extends CamelTestSupport { sendBody("direct:enveloping", payload, Collections.<String, Object> emptyMap()); assertMockEndpointsSatisfied(); checkThrownException(mock, XmlSignatureException.class, - "The XAdES-EPES confguration is invalid. The digest value for the signature policy is missing.", null); + "The XAdES-EPES configuration is invalid. The digest value for the signature policy is missing.", null); } @Test @@ -549,7 +549,7 @@ public class XAdESSignaturePropertiesTest extends CamelTestSupport { sendBody("direct:enveloping", payload, Collections.<String, Object> emptyMap()); assertMockEndpointsSatisfied(); checkThrownException(mock, XmlSignatureException.class, - "The XAdES-EPES confguration is invalid. The digest algorithm for the signature policy is missing.", null); + "The XAdES-EPES configuration is invalid. The digest algorithm for the signature policy is missing.", null); } @Test @@ -564,7 +564,7 @@ public class XAdESSignaturePropertiesTest extends CamelTestSupport { checkThrownException( mock, XmlSignatureException.class, - "The XAdES confguration is invalid. The list of the claimed roles contains the invalid entry '<ClaimedRole>wrong XML fragment<ClaimedRole>'. An entry must either be a text or" + "The XAdES configuration is invalid. The list of the claimed roles contains the invalid entry '<ClaimedRole>wrong XML fragment<ClaimedRole>'. An entry must either be a text or" + " an XML fragment with the root element 'ClaimedRole' with the namespace 'http://uri.etsi.org/01903/v1.3.2#'.", null); } @@ -581,7 +581,7 @@ public class XAdESSignaturePropertiesTest extends CamelTestSupport { checkThrownException( mock, XmlSignatureException.class, - "The XAdES confguration is invalid. The list of the commitment type qualifiers contains the invalid entry '<CommitmentTypeQualifier>wrong XML fragment<CommitmentTypeQualifier>'." + "The XAdES configuration is invalid. The list of the commitment type qualifiers contains the invalid entry '<CommitmentTypeQualifier>wrong XML fragment<CommitmentTypeQualifier>'." + " An entry must either be a text or an XML fragment with the root element 'CommitmentTypeQualifier' with the namespace 'http://uri.etsi.org/01903/v1.3.2#'.", null); } @@ -598,7 +598,7 @@ public class XAdESSignaturePropertiesTest extends CamelTestSupport { checkThrownException( mock, XmlSignatureException.class, - "The XAdES confguration is invalid. The list of the signatue policy qualifiers contains the invalid entry '<SigPolicyQualifier>wrong XML fragment<SigPolicyQualifier>'." + "The XAdES configuration is invalid. The list of the signatue policy qualifiers contains the invalid entry '<SigPolicyQualifier>wrong XML fragment<SigPolicyQualifier>'." + " An entry must either be a text or an XML fragment with the root element 'SigPolicyQualifier' with the namespace 'http://uri.etsi.org/01903/v1.3.2#'.", null); } @@ -616,7 +616,7 @@ public class XAdESSignaturePropertiesTest extends CamelTestSupport { checkThrownException( mock, XmlSignatureException.class, - "The XAdES confguration is invalid. The root element 'SigPolicyQualifier' of the provided XML fragment " + "The XAdES configuration is invalid. The root element 'SigPolicyQualifier' of the provided XML fragment " + "'<SigPolicyQualifier xmlns=\"http://invalid.com\">XML fragment with wrong namespace for root element</SigPolicyQualifier>' has the invalid namespace 'http://invalid.com'." + " The correct namespace is 'http://uri.etsi.org/01903/v1.3.2#'.", null); } diff --git a/docs/user-manual/en/scala-dsl-eip.adoc b/docs/user-manual/en/scala-dsl-eip.adoc index 2c52016..c6297dd 100644 --- a/docs/user-manual/en/scala-dsl-eip.adoc +++ b/docs/user-manual/en/scala-dsl-eip.adoc @@ -174,7 +174,7 @@ Delayer +++++++ Unlike a throttler, which only slows down messages if the rate exceeds a -treshold, a delayer delays every messages with a fixed amount of time. +threshold, a delayer delays every messages with a fixed amount of time. An example: to delay every message going from `seda:a` to `mock:a` with 1 second, you write... diff --git a/docs/user-manual/en/servicepool.adoc b/docs/user-manual/en/servicepool.adoc index 675c053..a9b36e2 100644 --- a/docs/user-manual/en/servicepool.adoc +++ b/docs/user-manual/en/servicepool.adoc @@ -48,7 +48,7 @@ Then set your custom pooling on the `CamelContext` with the The producer service pool identify a producer as being pool capable if the producer implements the marker interface -`org.apache.camel.SerivcePoolAware`. + +`org.apache.camel.ServicePoolAware`. + As the producer will be pooled and thus long lived, your producer should be able to automatic safely recover lost connection. Usually you implement logic that re connects if needed. diff --git a/examples/camel-example-micrometer/src/main/java/org/apache/camel/example/micrometer/ScrapeRouteBuilder.java b/examples/camel-example-micrometer/src/main/java/org/apache/camel/example/micrometer/ScrapeRouteBuilder.java index 2fd3eb4..c4a53ab 100644 --- a/examples/camel-example-micrometer/src/main/java/org/apache/camel/example/micrometer/ScrapeRouteBuilder.java +++ b/examples/camel-example-micrometer/src/main/java/org/apache/camel/example/micrometer/ScrapeRouteBuilder.java @@ -23,7 +23,7 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; /** - * Route Builder that exposes teh endpoint used by Prometheus to scrape + * Route Builder that exposes the endpoint used by Prometheus to scrape * monitoring data from the Camel application. When running in a Spring * Boot 2.x environment, this is not required as Spring Boot already exposes * this endpoint by default. diff --git a/tests/camel-itest/src/test/java/org/apache/camel/itest/greeter/JmsToCxfInOutTest.java b/tests/camel-itest/src/test/java/org/apache/camel/itest/greeter/JmsToCxfInOutTest.java index 6ae765d..c2666a9 100644 --- a/tests/camel-itest/src/test/java/org/apache/camel/itest/greeter/JmsToCxfInOutTest.java +++ b/tests/camel-itest/src/test/java/org/apache/camel/itest/greeter/JmsToCxfInOutTest.java @@ -47,7 +47,7 @@ public class JmsToCxfInOutTest extends AbstractJUnit4SpringContextTests { String out = template.requestBodyAndHeader("jms:queue:bridge.cxf", "Willem", CxfConstants.OPERATION_NAME, "greetMe", String.class); assertEquals("Hello Willem", out); - // call for the other opertion + // call for the other operation out = template.requestBodyAndHeader("jms:queue:bridge.cxf", new Object[0], CxfConstants.OPERATION_NAME, "sayHi", String.class); assertEquals("Bonjour", out); }