This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit 877dd724c48903c895fa260fbcee560d514e0786 Author: Otavio Rodolfo Piske <angusyo...@gmail.com> AuthorDate: Wed Feb 21 19:22:29 2024 +0100 CAMEL-20410: documentation fixes for camel-stomp - Fixed samples - Fixed grammar and typos - Fixed punctuation - Added and/or fixed links - Converted to use tabs --- .../camel-stomp/src/main/docs/stomp-component.adoc | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/components/camel-stomp/src/main/docs/stomp-component.adoc b/components/camel-stomp/src/main/docs/stomp-component.adoc index 5b75377159e..22cc8c0b288 100644 --- a/components/camel-stomp/src/main/docs/stomp-component.adoc +++ b/components/camel-stomp/src/main/docs/stomp-component.adoc @@ -19,8 +19,10 @@ http://stomp.github.io/[Stomp] compliant message brokers, like http://activemq.apache.org[Apache ActiveMQ] or http://activemq.apache.org/apollo/[ActiveMQ Apollo] -*Note:* Since STOMP specification is not actively maintained, please note https://github.com/fusesource/stompjms/tree/master/stompjms-client[STOMP JMS client] -is not as well actively maintained. However, we hope for the community to step up to help on maintaining the STOMP JMS project in the near future. +NOTE: Since STOMP specification is not actively maintained, +please note https://github.com/fusesource/stompjms/tree/master/stompjms-client[STOMP JMS client] +is not as well actively maintained. +However, we hope for the community to step up to help in maintaining the STOMP JMS project in the near future. Maven users will need to add the following dependency to their `pom.xml` for this component: @@ -82,25 +84,22 @@ Camel supports the Message Endpoint pattern using the https://www.javadoc.io/doc/org.apache.camel/camel-api/current/org/apache/camel/Endpoint.html[Endpoint] interface. Endpoints are usually created by a -Component and Endpoints are usually referred to in +Component, and Endpoints are usually referred to in the DSL via their URIs. From an Endpoint you can use the following methods -* -https://www.javadoc.io/doc/org.apache.camel/camel-api/current/org/apache/camel/Endpoint.html#createProducer--[createProducer()] +* https://www.javadoc.io/doc/org.apache.camel/camel-api/current/org/apache/camel/Endpoint.html#createProducer--[createProducer()] will create a https://www.javadoc.io/doc/org.apache.camel/camel-api/current/org/apache/camel/Producer.html[Producer] for sending message exchanges to the endpoint -* -https://www.javadoc.io/doc/org.apache.camel/camel-api/current/org/apache/camel/Endpoint.html#createConsumer-org.apache.camel.Processor-[createConsumer()] +* https://www.javadoc.io/doc/org.apache.camel/camel-api/current/org/apache/camel/Endpoint.html#createConsumer-org.apache.camel.Processor-[createConsumer()] implements the Event Driven Consumer pattern for consuming message exchanges from the endpoint via a https://www.javadoc.io/doc/org.apache.camel/camel-api/current/org/apache/camel/Processor.html[Processor] when creating a https://www.javadoc.io/doc/org.apache.camel/camel-api/current/org/apache/camel/Consumer.html[Consumer] -* -https://www.javadoc.io/doc/org.apache.camel/camel-api/current/org/apache/camel/Endpoint.html#createPollingConsumer--[createPollingConsumer()] +* https://www.javadoc.io/doc/org.apache.camel/camel-api/current/org/apache/camel/Endpoint.html#createPollingConsumer--[createPollingConsumer()] implements the Polling Consumer pattern for consuming message exchanges from the endpoint via a https://www.javadoc.io/doc/org.apache.camel/camel-api/current/org/apache/camel/PollingConsumer.html[PollingConsumer]