Re: Issues with cxfrs using json

2014-03-30 Thread bijoy
Hi Sergey, Adding String and InputStream in the method signature making json data available to exchange body but camel is not able to convert the json into pojo. I'm using SimpleConsumer binding. I guess the problem is with binding, any idea? *camel-config.xml*

Re: Camel - Test driven development

2014-03-30 Thread Willem Jiang
As Camel route provides some abstraction of message routing, when you write the route, you don’t need to take care of the component implementation. All you need to do is make sure the camel route works as you expected first.  With the help of camel unit test, we can make sure the camel route wor

Camel - Test driven development

2014-03-30 Thread Gnanaguru S
What is the benefit of Unit testing Camel routes before creating the context ? In terms of test driven developement, Before writing my camel context Lets say I am writing 5 unit test cases to test my routes. Also Lets assume the runtime is Fuse/Servicemix. In this kind of containers, is test dr

Re: faultactor in Camel responses

2014-03-30 Thread Richard Kettelerij
Hi, CXF uses the role attribute of the SoapFault to set the FaultActor [1]. So in order to set the FaultActor you would have to do something like: SoapFault sf = new SoapFault("my exception message", SoapFault.FAULT_CODE_SERVER); sf.setRole("bla bla"); and in your Camel route: from().setFau