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:55 UTC
[camel] branch master updated (28b8b67 -> 0115644)
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git.
from 28b8b67 Camel-RabbitMQ: Don't declare connectionFactory in RabbitMQ Spring Itest, it will be automatically detected
new 7cb89ec Camel-Rabbitmq: Added more docs about allowCustomHeaders
new 0115644 Regen docs
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../camel-rabbitmq/src/main/docs/rabbitmq-component.adoc | 10 ++++++++++
docs/components/modules/ROOT/pages/rabbitmq-component.adoc | 10 ++++++++++
2 files changed, 20 insertions(+)
[camel] 01/02: Camel-Rabbitmq: Added more docs about
allowCustomHeaders
Posted by ac...@apache.org.
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 7cb89ec6f337580dac123863c4bbddc1953001ed
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Mar 10 12:52:55 2020 +0100
Camel-Rabbitmq: Added more docs about allowCustomHeaders
---
.../camel-rabbitmq/src/main/docs/rabbitmq-component.adoc | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/components/camel-rabbitmq/src/main/docs/rabbitmq-component.adoc b/components/camel-rabbitmq/src/main/docs/rabbitmq-component.adoc
index 45f956a..b5a78e1 100644
--- a/components/camel-rabbitmq/src/main/docs/rabbitmq-component.adoc
+++ b/components/camel-rabbitmq/src/main/docs/rabbitmq-component.adoc
@@ -319,6 +319,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
[camel] 02/02: Regen docs
Posted by ac...@apache.org.
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