This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch camel-3.14.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-3.14.x by this push:
new b291714 Fixed typo in example code
b291714 is described below
commit b291714b8ce31afd4f78762190bb55b84271c38d
Author: Victor Kostin <[email protected]>
AuthorDate: Tue Jan 18 12:20:32 2022 +0200
Fixed typo in example code
---
components/camel-http/src/main/docs/http-component.adoc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/camel-http/src/main/docs/http-component.adoc
b/components/camel-http/src/main/docs/http-component.adoc
index 931ab47..adbf23f 100644
--- a/components/camel-http/src/main/docs/http-component.adoc
+++ b/components/camel-http/src/main/docs/http-component.adoc
@@ -165,7 +165,7 @@ after the camel-jetty or camel-cxf endpoint.
[source,java]
----------------------------------------------------------------------------------
HttpServletRequest request =
exchange.getIn().getBody(HttpServletRequest.class);
-HttpServletRequest response =
exchange.getIn().getBody(HttpServletResponse.class);
+HttpServletResponse response =
exchange.getIn().getBody(HttpServletResponse.class);
----------------------------------------------------------------------------------
== Configuring URI to call