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
The following commit(s) were added to refs/heads/main by this push:
new 7e1445b754c Update using-getin-or-getout-methods-on-exchange.adoc
(#11898)
7e1445b754c is described below
commit 7e1445b754c2af1b6fa6ae9acc25f499e28187f0
Author: Ram Kartikeya Boyini <[email protected]>
AuthorDate: Thu Nov 2 14:34:08 2023 -0400
Update using-getin-or-getout-methods-on-exchange.adoc (#11898)
Make the snippet syntactically correct
---
.../modules/faq/pages/using-getin-or-getout-methods-on-exchange.adoc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/docs/user-manual/modules/faq/pages/using-getin-or-getout-methods-on-exchange.adoc
b/docs/user-manual/modules/faq/pages/using-getin-or-getout-methods-on-exchange.adoc
index 12cfe31e9b9..f34a45b1098 100644
---
a/docs/user-manual/modules/faq/pages/using-getin-or-getout-methods-on-exchange.adoc
+++
b/docs/user-manual/modules/faq/pages/using-getin-or-getout-methods-on-exchange.adoc
@@ -81,7 +81,7 @@ public void process(Exchange exchange) throws Exception {
// change the message to say Hello
exchange.getOut().setBody("Hello " + body);
// copy headers from IN to OUT to propagate them
- exchange.getOut().setHeaders(exchange.getIn().getHeaders();
+ exchange.getOut().setHeaders(exchange.getIn().getHeaders());
// copy attachements from IN to OUT to propagate them
exchange.getOut().setAttachments(exchange.getIn().getAttachments());
}