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 17d8919dd86 CAMEL-17507: Update docs
17d8919dd86 is described below

commit 17d8919dd86a666b42869898b2fe1e0b495837c9
Author: Claus Ibsen <[email protected]>
AuthorDate: Sat Sep 3 13:12:03 2022 +0200

    CAMEL-17507: Update docs
---
 docs/user-manual/modules/ROOT/pages/pojo-consuming.adoc | 2 ++
 docs/user-manual/modules/ROOT/pages/pojo-producing.adoc | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/docs/user-manual/modules/ROOT/pages/pojo-consuming.adoc 
b/docs/user-manual/modules/ROOT/pages/pojo-consuming.adoc
index ab0f277e395..9a94a791d19 100644
--- a/docs/user-manual/modules/ROOT/pages/pojo-consuming.adoc
+++ b/docs/user-manual/modules/ROOT/pages/pojo-consuming.adoc
@@ -5,6 +5,8 @@ annotation to mark a particular method of a bean as being a 
consumer
 method. The value of the annotation defines the Camel
 xref:endpoint.adoc[Endpoint] to consume from.
 
+IMPORTANT: The `@Consume` POJO annotations are not part of any Camel routes, 
and you cannot use errorHandler or onException with that.
+
 For example lets invoke the `onCheese()` method with the String body of the
 inbound JMS message from xref:components::activemq-component.adoc[ActiveMQ] on 
the cheese
 queue; this will use the xref:type-converter.adoc[Type Converter] to
diff --git a/docs/user-manual/modules/ROOT/pages/pojo-producing.adoc 
b/docs/user-manual/modules/ROOT/pages/pojo-producing.adoc
index 15fca0ffe14..6b8b9b11ae3 100644
--- a/docs/user-manual/modules/ROOT/pages/pojo-producing.adoc
+++ b/docs/user-manual/modules/ROOT/pages/pojo-producing.adoc
@@ -11,6 +11,8 @@ xref:endpoint.adoc[Endpoint] from a POJO:
 To allow sending of messages from POJOs you can use the `@Produce` annotation.
 This will inject a `org.apache.camel.ProducerTemplate` so that the bean can 
send messages.
 
+IMPORTANT: The `@Produce` POJO annotations are not part of any Camel routes, 
and you cannot use errorHandler or onException with that.
+
 For example to send a message to the foo queue on ActiveMQ:
 
 [source,java]

Reply via email to