You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2015/11/22 14:20:42 UTC
camel git commit: TestSupport: Deprecate methods which redirect to
deprecated methods of org.apache.camel.builder.Builder
Repository: camel
Updated Branches:
refs/heads/master 348b9b2a4 -> 139716fd8
TestSupport: Deprecate methods which redirect to deprecated methods of org.apache.camel.builder.Builder
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/139716fd
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/139716fd
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/139716fd
Branch: refs/heads/master
Commit: 139716fd855430ad829b816d7d5d634090db7bfb
Parents: 348b9b2
Author: Pascal Schumacher <pa...@gmx.net>
Authored: Sun Nov 22 14:08:06 2015 +0100
Committer: Claus Ibsen <da...@apache.org>
Committed: Sun Nov 22 14:20:36 2015 +0100
----------------------------------------------------------------------
camel-core/src/test/java/org/apache/camel/TestSupport.java | 9 +++++++++
1 file changed, 9 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/139716fd/camel-core/src/test/java/org/apache/camel/TestSupport.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/TestSupport.java b/camel-core/src/test/java/org/apache/camel/TestSupport.java
index 3007468..19e3410 100644
--- a/camel-core/src/test/java/org/apache/camel/TestSupport.java
+++ b/camel-core/src/test/java/org/apache/camel/TestSupport.java
@@ -107,7 +107,10 @@ public abstract class TestSupport extends TestCase {
/**
* Returns a predicate and value builder for the outbound body on an
* exchange
+ *
+ * @deprecated use {@link #body()}
*/
+ @Deprecated
public static ValueBuilder outBody() {
return Builder.outBody();
}
@@ -115,7 +118,10 @@ public abstract class TestSupport extends TestCase {
/**
* Returns a predicate and value builder for the outbound message body as a
* specific type
+ *
+ * @deprecated use {@link #bodyAs(Class)}
*/
+ @Deprecated
public static <T> ValueBuilder outBodyAs(Class<T> type) {
return Builder.outBodyAs(type);
}
@@ -131,7 +137,10 @@ public abstract class TestSupport extends TestCase {
/**
* Returns a predicate and value builder for the fault message body as a
* specific type
+ *
+ * @deprecated use {@link #bodyAs(Class)}
*/
+ @Deprecated
public static <T> ValueBuilder faultBodyAs(Class<T> type) {
return Builder.faultBodyAs(type);
}