camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r772966 - in /camel/trunk/components/camel-quickfix/src: main/java/org/apache/camel/component/quickfix/converter/QuickFixConverter.java test/java/org/apache/camel/component/quickfix/example/PassiveFixGateway.java
Date Fri, 08 May 2009 13:12:16 GMT
Author: ningjiang
Date: Fri May  8 13:12:16 2009
New Revision: 772966

URL: http://svn.apache.org/viewvc?rev=772966&view=rev
Log:
CAMEL-1350 revert the changes which should not be committed.

Modified:
    camel/trunk/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfix/converter/QuickFixConverter.java
    camel/trunk/components/camel-quickfix/src/test/java/org/apache/camel/component/quickfix/example/PassiveFixGateway.java

Modified: camel/trunk/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfix/converter/QuickFixConverter.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfix/converter/QuickFixConverter.java?rev=772966&r1=772965&r2=772966&view=diff
==============================================================================
--- camel/trunk/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfix/converter/QuickFixConverter.java
(original)
+++ camel/trunk/components/camel-quickfix/src/main/java/org/apache/camel/component/quickfix/converter/QuickFixConverter.java
Fri May  8 13:12:16 2009
@@ -71,14 +71,12 @@
     }
 
     @Converter
-    public static InputStream toInputStream(Message message) throws Exception {
-        System.out.println("Calling to inputStream");
+    public static InputStream toInputStream(Message message) throws Exception {        
         return IOConverter.toInputStream(toString(message).getBytes());
     }
 
     @Converter
-    public static String toString(Message message) throws IOException {
-        System.out.println("Calling to string");
+    public static String toString(Message message) throws IOException {        
         return message.toString();
     }
 

Modified: camel/trunk/components/camel-quickfix/src/test/java/org/apache/camel/component/quickfix/example/PassiveFixGateway.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-quickfix/src/test/java/org/apache/camel/component/quickfix/example/PassiveFixGateway.java?rev=772966&r1=772965&r2=772966&view=diff
==============================================================================
--- camel/trunk/components/camel-quickfix/src/test/java/org/apache/camel/component/quickfix/example/PassiveFixGateway.java
(original)
+++ camel/trunk/components/camel-quickfix/src/test/java/org/apache/camel/component/quickfix/example/PassiveFixGateway.java
Fri May  8 13:12:16 2009
@@ -32,7 +32,7 @@
 public class PassiveFixGateway extends SpringRouteBuilder {
 
     public void configure() throws Exception {
-        from("quickfix-server:examples/server.cfg").convertBodyTo(InputStream.class).to("quickfix-client:examples/client.cfg");
+        from("quickfix-server:examples/server.cfg").to("quickfix-client:examples/client.cfg");
     }
 
     public static void main(String[] args) {



Mime
View raw message