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 2020/03/10 12:00:57 UTC

[camel] 02/02: Regen docs

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

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

commit 011564485ac47a0622597facdf1a3bb56bae954c
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Mar 10 13:00:35 2020 +0100

    Regen docs
---
 docs/components/modules/ROOT/pages/rabbitmq-component.adoc | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/docs/components/modules/ROOT/pages/rabbitmq-component.adoc b/docs/components/modules/ROOT/pages/rabbitmq-component.adoc
index 04eaddd..0c2a916 100644
--- a/docs/components/modules/ROOT/pages/rabbitmq-component.adoc
+++ b/docs/components/modules/ROOT/pages/rabbitmq-component.adoc
@@ -320,6 +320,16 @@ producer will also set the headers for downstream processors once the
 exchange has taken place. Any headers set prior to production that the
 producer sets will be overridden.
 
+== Allowing custom Headers
+
+The `allowCustomHeaders` endpoint option can be used to avoid adding custom headers to the message sent to RabbitMQ.
+If set to false, the user will have only rabbitmq.* headers in the payload of the message. Default value for this option is true.
+
+[NOTE]
+====
+If you decide to use the allowCustomHeaders option, don't add sensitive information as header. It's not recommended and it's dangerous. Don't do it.
+====
+
 == Message Body
 
 The component will use the camel exchange in body as the rabbit mq