You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by bv...@apache.org on 2013/10/13 13:54:52 UTC

git commit: Revert back the added @PreConsumed annotated method being accidentally pushed (CAMEL-6194).

Updated Branches:
  refs/heads/camel-2.12.x 97171d285 -> d18557ee3


Revert back the added @PreConsumed annotated method being accidentally pushed (CAMEL-6194).

Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/d18557ee
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/d18557ee
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/d18557ee

Branch: refs/heads/camel-2.12.x
Commit: d18557ee352eb2e6503074e216f0334d0260c571
Parents: 97171d2
Author: Babak Vahdat <bv...@apache.org>
Authored: Sun Oct 13 13:54:48 2013 +0200
Committer: Babak Vahdat <bv...@apache.org>
Committed: Sun Oct 13 13:54:48 2013 +0200

----------------------------------------------------------------------
 .../src/test/java/org/apache/camel/examples/SendEmail.java   | 8 --------
 1 file changed, 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/d18557ee/components/camel-jpa/src/test/java/org/apache/camel/examples/SendEmail.java
----------------------------------------------------------------------
diff --git a/components/camel-jpa/src/test/java/org/apache/camel/examples/SendEmail.java b/components/camel-jpa/src/test/java/org/apache/camel/examples/SendEmail.java
index e4e0d33..f7b5317 100644
--- a/components/camel-jpa/src/test/java/org/apache/camel/examples/SendEmail.java
+++ b/components/camel-jpa/src/test/java/org/apache/camel/examples/SendEmail.java
@@ -54,12 +54,4 @@ public class SendEmail {
     public void setAddress(String address) {
         this.address = address;
     }
-
-    @PreConsumed
-    public void doBefore() {
-        LOG.info("Invoked the pre consumed method with address {}", getAddress());
-        if ("dummy".equals(getAddress())) {
-            setAddress("dummy@somewhere.org");
-        }
-    }
 }