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 58b0ab9 CAMEL-14060: Deprecate camel-restlet 58b0ab9 is described below commit 58b0ab95f4d6890ff8e30eea617138e6953431ea Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Fri Oct 11 21:35:10 2019 +0200 CAMEL-14060: Deprecate camel-restlet --- components/camel-restlet/pom.xml | 2 +- components/camel-restlet/src/main/docs/restlet-component.adoc | 8 ++++---- .../camel/builder/endpoint/dsl/RestletEndpointBuilderFactory.java | 1 + 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/components/camel-restlet/pom.xml b/components/camel-restlet/pom.xml index 2bcadeb..ca09c8e 100644 --- a/components/camel-restlet/pom.xml +++ b/components/camel-restlet/pom.xml @@ -29,7 +29,7 @@ <artifactId>camel-restlet</artifactId> <packaging>jar</packaging> - <name>Camel :: Restlet</name> + <name>Camel :: Restlet (deprecated)</name> <description>Camel REST (Restlet based) Component</description> <properties> diff --git a/components/camel-restlet/src/main/docs/restlet-component.adoc b/components/camel-restlet/src/main/docs/restlet-component.adoc index 7f595c0..5a79f0a 100644 --- a/components/camel-restlet/src/main/docs/restlet-component.adoc +++ b/components/camel-restlet/src/main/docs/restlet-component.adoc @@ -1,7 +1,8 @@ -[[restlet-component]] -= Restlet Component += Restlet Component (deprecated) *Available as of Camel version 2.0* +*Available as of Camel version 2.0* + The Restlet component provides http://www.restlet.org[Restlet] based endpoints for consuming and producing RESTful @@ -430,5 +431,4 @@ well: <name>Public online Restlet repository</name> <url>https://maven.restlet.com</url> </repository> ----- - +---- \ No newline at end of file diff --git a/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/RestletEndpointBuilderFactory.java b/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/RestletEndpointBuilderFactory.java index b52ce78..61ce643 100644 --- a/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/RestletEndpointBuilderFactory.java +++ b/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/RestletEndpointBuilderFactory.java @@ -1057,6 +1057,7 @@ public interface RestletEndpointBuilderFactory { * Path parameter: uriPattern * The resource pattern such as /customer/{id} */ + @Deprecated default RestletEndpointBuilder restlet(String path) { class RestletEndpointBuilderImpl extends AbstractEndpointBuilder implements RestletEndpointBuilder, AdvancedRestletEndpointBuilder { public RestletEndpointBuilderImpl(String path) {