camel-quickfix RequestReplyExample java.io.IOException

2012-12-07 Thread lawkai
Hi, I am completely new to Camel, and while I am going through the example, I got this exception while running org.apache.camel.component.quickfixj.examples.RequestReplyExample Exception in thread "main" java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:9123/

Re: camel-quickfix RequestReplyExample java.io.IOException

2012-12-09 Thread lawkai
Hi Claus, I am using Camel version 2.10.2. And the example that I got is provided in the src package (under components\camel-quickfix org.apache.camel.component.quickfixj.examples.RequestReplyExample) I can't seem to get anything in the log... I just run the class as a Java Application and that

Re: camel-quickfix RequestReplyExample java.io.IOException

2012-12-13 Thread lawkai
Hi Babak, I have checked out your patch and it seems the exception is gone. However, I have noticed one problem. Please correct me if I am wrong. In the example, I think the original author was trying to transform a http request (via Jetty) into the OrderStatusRequest and routes it (via routingS

Re: camel-quickfix RequestReplyExample java.io.IOException

2012-12-14 Thread lawkai
Hi Babak, I have checked the latest version in trunk. While I agree that the ExecutionReport did get printed out via the additional route to the bean QuickfixjMessageJsonPrinter, wouldn't it be better if it gets routed back to become the http response for the request (http://localhost:9123/order