This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push:
new e3af268 Improve summary for camel-jetty
e3af268 is described below
commit e3af2685d52196f2c33bf0acf2a22c855cbc6cd4
Author: Claus Ibsen <[email protected]>
AuthorDate: Thu Oct 31 13:55:46 2019 +0100
Improve summary for camel-jetty
---
.../java/org/apache/camel/component/jetty9/JettyHttpEndpoint9.java | 3 +--
.../builder/endpoint/dsl/JettyHttpEndpointBuilder9Factory.java | 6 ++----
docs/components/modules/ROOT/pages/http-component.adoc | 5 +++--
docs/components/modules/ROOT/pages/index.adoc | 2 +-
.../jetty9/springboot/JettyHttpComponentConfiguration9.java | 3 +--
5 files changed, 8 insertions(+), 11 deletions(-)
diff --git
a/components/camel-jetty/src/main/java/org/apache/camel/component/jetty9/JettyHttpEndpoint9.java
b/components/camel-jetty/src/main/java/org/apache/camel/component/jetty9/JettyHttpEndpoint9.java
index 68808f1..27e8873 100644
---
a/components/camel-jetty/src/main/java/org/apache/camel/component/jetty9/JettyHttpEndpoint9.java
+++
b/components/camel-jetty/src/main/java/org/apache/camel/component/jetty9/JettyHttpEndpoint9.java
@@ -27,8 +27,7 @@ import org.apache.camel.http.common.HttpBinding;
import org.apache.camel.spi.UriEndpoint;
/**
- * The jetty component provides HTTP-based endpoints for consuming and
producing
- * HTTP requests.
+ * To use Jetty as a HTTP server as consumer for Camel routes.
*/
@UriEndpoint(firstVersion = "1.2.0", scheme = "jetty", extendsScheme = "http",
title = "Jetty", syntax = "jetty:httpUri", label = "http", consumerOnly = true,
lenientProperties = true,
excludeProperties =
"authMethod,authMethodPriority,authUsername,authPassword,authDomain,authHost"
diff --git
a/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/JettyHttpEndpointBuilder9Factory.java
b/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/JettyHttpEndpointBuilder9Factory.java
index 071f459..0786fb2 100644
---
a/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/JettyHttpEndpointBuilder9Factory.java
+++
b/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/JettyHttpEndpointBuilder9Factory.java
@@ -23,8 +23,7 @@ import
org.apache.camel.builder.endpoint.AbstractEndpointBuilder;
import org.apache.camel.spi.HeaderFilterStrategy;
/**
- * The jetty component provides HTTP-based endpoints for consuming and
producing
- * HTTP requests.
+ * To use Jetty as a HTTP server as consumer for Camel routes.
*
* Generated by camel-package-maven-plugin - do not edit this file!
*/
@@ -416,8 +415,7 @@ public interface JettyHttpEndpointBuilder9Factory {
}
/**
* Jetty (camel-jetty)
- * The jetty component provides HTTP-based endpoints for consuming and
- * producing HTTP requests.
+ * To use Jetty as a HTTP server as consumer for Camel routes.
*
* Category: http
* Available as of version: 1.2
diff --git a/docs/components/modules/ROOT/pages/http-component.adoc
b/docs/components/modules/ROOT/pages/http-component.adoc
index 237bc23..80e2266 100644
--- a/docs/components/modules/ROOT/pages/http-component.adoc
+++ b/docs/components/modules/ROOT/pages/http-component.adoc
@@ -102,7 +102,7 @@ with the following path and query parameters:
|===
-=== Query Parameters (50 parameters):
+=== Query Parameters (51 parameters):
[width="100%",cols="2,5,^1,2",options="header"]
@@ -118,7 +118,8 @@ with the following path and query parameters:
| *connectionClose* (producer) | Specifies whether a Connection Close header
must be added to HTTP Request. By default connectionClose is false. | false |
boolean
| *cookieStore* (producer) | To use a custom CookieStore. By default the
BasicCookieStore is used which is an in-memory only cookie store. Notice if
bridgeEndpoint=true then the cookie store is forced to be a noop cookie store
as cookie shouldn't be stored as we are just bridging (eg acting as a proxy).
If a cookieHandler is set then the cookie store is also forced to be a noop
cookie store as cookie handling is then performed by the cookieHandler. | |
CookieStore
| *copyHeaders* (producer) | If this option is true then IN exchange headers
will be copied to OUT exchange headers according to copy strategy. Setting this
to false, allows to only include the headers from the HTTP response (not
propagating IN headers). | true | boolean
-| *deleteWithBody* (producer) | Whether the HTTP DELETE should include the
message body or not. By default HTTP DELETE do not include any HTTP message.
However in some rare cases users may need to be able to include the message
body. | false | boolean
+| *deleteWithBody* (producer) | Whether the HTTP DELETE should include the
message body or not. By default HTTP DELETE do not include any HTTP body.
However in some rare cases users may need to be able to include the message
body. | false | boolean
+| *getWithBody* (producer) | Whether the HTTP GET should include the message
body or not. By default HTTP GET do not include any HTTP body. However in some
rare cases users may need to be able to include the message body. | false |
boolean
| *httpMethod* (producer) | Configure the HTTP method to use. The HttpMethod
header cannot override this option if set. | | HttpMethods
| *ignoreResponseBody* (producer) | If this option is true, The http producer
won't read response body and cache the input stream | false | boolean
| *lazyStartProducer* (producer) | Whether the producer should be started lazy
(on the first message). By starting lazy you can use this to allow CamelContext
and routes to startup in situations where a producer may otherwise fail during
starting and cause the route to fail being started. By deferring this startup
to be lazy then the startup failure can be handled during routing messages via
Camel's routing error handlers. Beware that when the first message is processed
then creating and [...]
diff --git a/docs/components/modules/ROOT/pages/index.adoc
b/docs/components/modules/ROOT/pages/index.adoc
index 16f40ca..1f4ac81 100644
--- a/docs/components/modules/ROOT/pages/index.adoc
+++ b/docs/components/modules/ROOT/pages/index.adoc
@@ -310,7 +310,7 @@ Number of Components: 300 in 238 JAR artifacts (0
deprecated)
| xref:jdbc-component.adoc[JDBC] (camel-jdbc) | 1.2 | The jdbc component
enables you to access databases through JDBC, where SQL queries are sent in the
message body.
-| xref:jetty-component.adoc[Jetty] (camel-jetty) | 1.2 | The jetty component
provides HTTP-based endpoints for consuming and producing HTTP requests.
+| xref:jetty-component.adoc[Jetty] (camel-jetty) | 1.2 | To use Jetty as a
HTTP server as consumer for Camel routes.
| xref:websocket-component.adoc[Jetty Websocket] (camel-websocket) | 2.10 |
The websocket component provides websocket endpoints with Jetty for
communicating with clients using websocket.
diff --git
a/platforms/spring-boot/components-starter/camel-jetty-starter/src/main/java/org/apache/camel/component/jetty9/springboot/JettyHttpComponentConfiguration9.java
b/platforms/spring-boot/components-starter/camel-jetty-starter/src/main/java/org/apache/camel/component/jetty9/springboot/JettyHttpComponentConfiguration9.java
index e135dd9..c9fba3e 100644
---
a/platforms/spring-boot/components-starter/camel-jetty-starter/src/main/java/org/apache/camel/component/jetty9/springboot/JettyHttpComponentConfiguration9.java
+++
b/platforms/spring-boot/components-starter/camel-jetty-starter/src/main/java/org/apache/camel/component/jetty9/springboot/JettyHttpComponentConfiguration9.java
@@ -23,8 +23,7 @@ import org.eclipse.jetty.server.Connector;
import org.springframework.boot.context.properties.ConfigurationProperties;
/**
- * The jetty component provides HTTP-based endpoints for consuming and
producing
- * HTTP requests.
+ * To use Jetty as a HTTP server as consumer for Camel routes.
*
* Generated by camel-package-maven-plugin - do not edit this file!
*/