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 2008/12/01 14:44:02 UTC

svn commit: r722070 - /activemq/camel/trunk/components/camel-xmlbeans/src/main/java/org/apache/camel/converter/xmlbeans/XmlBeansConverter.java

Author: ningjiang
Date: Mon Dec  1 05:44:01 2008
New Revision: 722070

URL: http://svn.apache.org/viewvc?rev=722070&view=rev
Log:
CAMEL-1134 fixed the build of camel-xmlbeans

Modified:
    activemq/camel/trunk/components/camel-xmlbeans/src/main/java/org/apache/camel/converter/xmlbeans/XmlBeansConverter.java

Modified: activemq/camel/trunk/components/camel-xmlbeans/src/main/java/org/apache/camel/converter/xmlbeans/XmlBeansConverter.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-xmlbeans/src/main/java/org/apache/camel/converter/xmlbeans/XmlBeansConverter.java?rev=722070&r1=722069&r2=722070&view=diff
==============================================================================
--- activemq/camel/trunk/components/camel-xmlbeans/src/main/java/org/apache/camel/converter/xmlbeans/XmlBeansConverter.java (original)
+++ activemq/camel/trunk/components/camel-xmlbeans/src/main/java/org/apache/camel/converter/xmlbeans/XmlBeansConverter.java Mon Dec  1 05:44:01 2008
@@ -31,6 +31,7 @@
 import org.xml.sax.SAXException;
 
 import org.apache.camel.Converter;
+import org.apache.camel.Exchange;
 import org.apache.camel.converter.IOConverter;
 import org.apache.camel.converter.NIOConverter;
 import org.apache.camel.converter.jaxp.XmlConverter;
@@ -69,8 +70,8 @@
     }
 
     @Converter
-    public static XmlObject toXmlObject(String value) throws IOException, XmlException {
-        return toXmlObject(IOConverter.toInputStream(value));
+    public static XmlObject toXmlObject(String value, Exchange exchange) throws IOException, XmlException {
+        return toXmlObject(IOConverter.toInputStream(value, exchange));
     }
 
     @Converter