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 2012/12/10 21:29:04 UTC

svn commit: r1419729 - /camel/trunk/components/camel-quickfix/src/test/java/org/apache/camel/component/quickfixj/examples/RequestReplyExample.java

Author: bvahdat
Date: Mon Dec 10 20:29:04 2012
New Revision: 1419729

URL: http://svn.apache.org/viewvc?rev=1419729&view=rev
Log:
CAMEL-5861: Should explicitly specify the QuickfixjMessageJsonTransformer method (the transform() method variant with one single argument) to make the example work on the 2.10.x branch as well.

Modified:
    camel/trunk/components/camel-quickfix/src/test/java/org/apache/camel/component/quickfixj/examples/RequestReplyExample.java

Modified: camel/trunk/components/camel-quickfix/src/test/java/org/apache/camel/component/quickfixj/examples/RequestReplyExample.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-quickfix/src/test/java/org/apache/camel/component/quickfixj/examples/RequestReplyExample.java?rev=1419729&r1=1419728&r2=1419729&view=diff
==============================================================================
--- camel/trunk/components/camel-quickfix/src/test/java/org/apache/camel/component/quickfixj/examples/RequestReplyExample.java (original)
+++ camel/trunk/components/camel-quickfix/src/test/java/org/apache/camel/component/quickfixj/examples/RequestReplyExample.java Mon Dec 10 20:29:04 2012
@@ -86,7 +86,7 @@ public class RequestReplyExample {
                 from("jetty:" + orderStatusServiceUrl)
                     .bean(new OrderStatusRequestTransformer())
                     .routingSlip(method(FixSessionRouter.class, "route"))
-                    .bean(new QuickfixjMessageJsonTransformer());
+                    .bean(new QuickfixjMessageJsonTransformer(), "transform(${body})");
             }
         };