Repository: camel Updated Branches: refs/heads/master 59a3f6bdb -> f4fa4a99c
Deprecated some methods in java-dsl Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/f4fa4a99 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/f4fa4a99 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/f4fa4a99 Branch: refs/heads/master Commit: f4fa4a99c29c83ba00bd7300f67e3f199247fffb Parents: 59a3f6b Author: Claus Ibsen <davscl...@apache.org> Authored: Fri Nov 27 13:09:03 2015 +0100 Committer: Claus Ibsen <davscl...@apache.org> Committed: Fri Nov 27 13:09:03 2015 +0100 ---------------------------------------------------------------------- .../java/org/apache/camel/model/ProcessorDefinition.java | 10 ++++++++++ 1 file changed, 10 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/f4fa4a99/camel-core/src/main/java/org/apache/camel/model/ProcessorDefinition.java ---------------------------------------------------------------------- diff --git a/camel-core/src/main/java/org/apache/camel/model/ProcessorDefinition.java b/camel-core/src/main/java/org/apache/camel/model/ProcessorDefinition.java index 7744ca9..55dd19e 100644 --- a/camel-core/src/main/java/org/apache/camel/model/ProcessorDefinition.java +++ b/camel-core/src/main/java/org/apache/camel/model/ProcessorDefinition.java @@ -3253,7 +3253,9 @@ public abstract class ProcessorDefinition<Type extends ProcessorDefinition<Type> * @param aggregationStrategyRef Reference of aggregation strategy to aggregate input data and additional data. * @return the builder * @see org.apache.camel.processor.Enricher + * @deprecated use enrich with a <tt>ref:id</tt> as the resourceUri parameter. */ + @Deprecated public Type enrichRef(String resourceRef, String aggregationStrategyRef) { return enrichRef(resourceRef, aggregationStrategyRef, false); } @@ -3271,7 +3273,9 @@ public abstract class ProcessorDefinition<Type extends ProcessorDefinition<Type> * an exception was thrown. * @return the builder * @see org.apache.camel.processor.Enricher + * @deprecated use enrich with a <tt>ref:id</tt> as the resourceUri parameter. */ + @Deprecated public Type enrichRef(String resourceRef, String aggregationStrategyRef, boolean aggregateOnException) { return enrichRef(resourceRef, aggregationStrategyRef, false, false); } @@ -3290,7 +3294,9 @@ public abstract class ProcessorDefinition<Type extends ProcessorDefinition<Type> * @param shareUnitOfWork whether to share unit of work * @return the builder * @see org.apache.camel.processor.Enricher + * @deprecated use enrich with a <tt>ref:id</tt> as the resourceUri parameter. */ + @Deprecated @SuppressWarnings("unchecked") public Type enrichRef(String resourceRef, String aggregationStrategyRef, boolean aggregateOnException, boolean shareUnitOfWork) { EnrichDefinition answer = new EnrichDefinition(); @@ -3452,7 +3458,9 @@ public abstract class ProcessorDefinition<Type extends ProcessorDefinition<Type> * @param aggregationStrategyRef Reference of aggregation strategy to aggregate input data and additional data. * @return the builder * @see org.apache.camel.processor.PollEnricher + * @deprecated use pollEnrich with a <tt>ref:id</tt> as the resourceUri parameter. */ + @Deprecated @SuppressWarnings("unchecked") public Type pollEnrichRef(String resourceRef, long timeout, String aggregationStrategyRef) { PollEnrichDefinition pollEnrich = new PollEnrichDefinition(); @@ -3482,7 +3490,9 @@ public abstract class ProcessorDefinition<Type extends ProcessorDefinition<Type> * an exception was thrown. * @return the builder * @see org.apache.camel.processor.PollEnricher + * @deprecated use pollEnrich with a <tt>ref:id</tt> as the resourceUri parameter. */ + @Deprecated @SuppressWarnings("unchecked") public Type pollEnrichRef(String resourceRef, long timeout, String aggregationStrategyRef, boolean aggregateOnException) { PollEnrichDefinition pollEnrich = new PollEnrichDefinition();