This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch camel-2.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-2.x by this push:
new 87b81aa CAMEL-13051: Deprecate not to be used option on @UriEndpoint
annotation
87b81aa is described below
commit 87b81aaa80ab8c8c10aa24134c04c180633ad073
Author: Claus Ibsen <[email protected]>
AuthorDate: Mon Jan 14 13:53:39 2019 +0100
CAMEL-13051: Deprecate not to be used option on @UriEndpoint annotation
---
.../src/main/java/org/apache/camel/spi/UriEndpoint.java | 3 +++
1 file changed, 3 insertions(+)
diff --git
a/tooling/spi-annotations/src/main/java/org/apache/camel/spi/UriEndpoint.java
b/tooling/spi-annotations/src/main/java/org/apache/camel/spi/UriEndpoint.java
index 7722ed6..4788cee 100644
---
a/tooling/spi-annotations/src/main/java/org/apache/camel/spi/UriEndpoint.java
+++
b/tooling/spi-annotations/src/main/java/org/apache/camel/spi/UriEndpoint.java
@@ -90,7 +90,10 @@ public @interface UriEndpoint {
/**
* Represents the consumer class which is injected and created by consumers
+ *
+ * @deprecated not in use
*/
+ @Deprecated
Class<?> consumerClass() default Object.class;
/**