Repository: camel Updated Branches: refs/heads/camel-2.12.x b44e54f59 -> 11191f114
changed class.toString() to class.getName() to get the real class name Thanks to Sebastian Bathke for the hint Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/11191f11 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/11191f11 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/11191f11 Branch: refs/heads/camel-2.12.x Commit: 11191f114988071e9d6ef440fbee3d81863a63a2 Parents: b44e54f Author: cmueller <cmuel...@apache.org> Authored: Sun Jun 1 18:23:44 2014 +0200 Committer: cmueller <cmuel...@apache.org> Committed: Sun Jun 1 22:04:13 2014 +0200 ---------------------------------------------------------------------- .../test/java/org/apache/camel/non_wrapper/PersonProcessor.java | 2 +- .../src/test/java/org/apache/camel/wsdl_first/PersonProcessor.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/11191f11/components/camel-cxf/src/test/java/org/apache/camel/non_wrapper/PersonProcessor.java ---------------------------------------------------------------------- diff --git a/components/camel-cxf/src/test/java/org/apache/camel/non_wrapper/PersonProcessor.java b/components/camel-cxf/src/test/java/org/apache/camel/non_wrapper/PersonProcessor.java index 51147a3..38833cd 100644 --- a/components/camel-cxf/src/test/java/org/apache/camel/non_wrapper/PersonProcessor.java +++ b/components/camel-cxf/src/test/java/org/apache/camel/non_wrapper/PersonProcessor.java @@ -32,7 +32,7 @@ public class PersonProcessor implements Processor { public void process(Exchange exchange) throws Exception { LOG.info("processing exchange in camel"); - BindingOperationInfo boi = (BindingOperationInfo)exchange.getProperty(BindingOperationInfo.class.toString()); + BindingOperationInfo boi = (BindingOperationInfo)exchange.getProperty(BindingOperationInfo.class.getName()); if (boi != null) { LOG.info("boi.isUnwrapped" + boi.isUnwrapped()); } http://git-wip-us.apache.org/repos/asf/camel/blob/11191f11/components/camel-cxf/src/test/java/org/apache/camel/wsdl_first/PersonProcessor.java ---------------------------------------------------------------------- diff --git a/components/camel-cxf/src/test/java/org/apache/camel/wsdl_first/PersonProcessor.java b/components/camel-cxf/src/test/java/org/apache/camel/wsdl_first/PersonProcessor.java index 5847d24..cafe341 100644 --- a/components/camel-cxf/src/test/java/org/apache/camel/wsdl_first/PersonProcessor.java +++ b/components/camel-cxf/src/test/java/org/apache/camel/wsdl_first/PersonProcessor.java @@ -34,7 +34,7 @@ public class PersonProcessor implements Processor { public void process(Exchange exchange) throws Exception { LOG.info("processing exchange in camel"); - BindingOperationInfo boi = (BindingOperationInfo)exchange.getProperty(BindingOperationInfo.class.toString()); + BindingOperationInfo boi = (BindingOperationInfo)exchange.getProperty(BindingOperationInfo.class.getName()); if (boi != null) { LOG.info("boi.isUnwrapped" + boi.isUnwrapped()); }