You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2021/09/01 08:26:33 UTC

[camel] 01/04: CAMEL-16849 - Add at least one example for component in docs - Camel-ActiveMQ

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 4443045da40e1e39b249b047667a53e1d09b4aef
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Sep 1 10:23:21 2021 +0200

    CAMEL-16849 - Add at least one example for component in docs - Camel-ActiveMQ
---
 components/camel-activemq/src/main/docs/activemq-component.adoc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/components/camel-activemq/src/main/docs/activemq-component.adoc b/components/camel-activemq/src/main/docs/activemq-component.adoc
index d5b1891..7c3e403 100644
--- a/components/camel-activemq/src/main/docs/activemq-component.adoc
+++ b/components/camel-activemq/src/main/docs/activemq-component.adoc
@@ -337,14 +337,14 @@ You'll need to provide a connectioFactory to the ActiveMQ Component, to have the
 --------------------------------------------------------------------------------
 from("timer:mytimer?period=5000")
         .setBody(constant("HELLO from Camel!"))
-        .to("jms:queue:HELLO.WORLD");
+        .to("activemq:queue:HELLO.WORLD");
 --------------------------------------------------------------------------------
 
 === Consumer Example
 
 [source,java]
 --------------------------------------------------------------------------------
-from("jms:queue:HELLO.WORLD")
+from("activemq:queue:HELLO.WORLD")
         .log("Received a message - ${body}");
 --------------------------------------------------------------------------------