You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ni...@apache.org on 2013/06/17 17:17:55 UTC
[2/2] git commit: Reverted the change of CxfConverter in my last
commit
Reverted the change of CxfConverter in my last commit
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/da8095f7
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/da8095f7
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/da8095f7
Branch: refs/heads/master
Commit: da8095f71ac9e592187ea87c6ca0cb4be11ec62e
Parents: 070c795
Author: Willem Jiang <ni...@apache.org>
Authored: Mon Jun 17 23:13:32 2013 +0800
Committer: Willem Jiang <ni...@apache.org>
Committed: Mon Jun 17 23:16:59 2013 +0800
----------------------------------------------------------------------
.../apache/camel/component/cxf/converter/CxfConverter.java | 7 -------
1 file changed, 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/da8095f7/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/converter/CxfConverter.java
----------------------------------------------------------------------
diff --git a/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/converter/CxfConverter.java b/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/converter/CxfConverter.java
index c8e15f4..37b86bd 100644
--- a/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/converter/CxfConverter.java
+++ b/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/converter/CxfConverter.java
@@ -97,13 +97,6 @@ public final class CxfConverter {
}
@Converter
- public static SOAPMessage StringToSoapMessage(final String string, Exchange exchange) throws SOAPException, IOException {
- InputStream is = new ByteArrayInputStream(string.getBytes(IOHelper.getCharsetName(exchange)));
- SOAPMessage message = MessageFactory.newInstance().createMessage(null, is);
- return message;
- }
-
- @Converter
public static DataFormat toDataFormat(final String name) {
return DataFormat.valueOf(name.toUpperCase());
}