Hi

You have to post more of your stacktrace.
And make sure in the ResTransformer you transform the message to a
reply format that the CXF web service expects.


On Tue, Mar 20, 2012 at 11:12 AM, Sree <kollu...@anz.com> wrote:
> Hi,
>
> I am trying to create an application which is exposed as a
> webservice(soap/http) through camel-cxf, after that I want to perform some
> transformations and then send the transformed request to MQ(Active MQ) using
> request-response patten. On receiving the response from MQ consumer perform
> reverse transaformations and send teh response to the webservice consumer.
>
> ReqFlow : Webservice -> Transform -> MQ
> ResFlow : Webservice <- Transform <- MQ (ReplyTo Q)
>
> My Camel Route is as follows
>
> from("cxf:bean:wsEndpoint")
> .transform(new ReqTransformer())
> .inOut("jms:InQ?replyTo=OutQ&requestTimeout=30000&timeToLive=30000&useMessageIDAsCorrelationID=true&receiveTimeout=30000")
> .trasform(new ResTransformer())
>
> When I am using InOnly() I am able to see the Req in the MQ, if I am using
> InOut() I am getting the following exception.
>
> org.apache.cxf.interceptor.Fault: Exception occurred during execution on the
> exchange: Exchange[Message: <?xml version="1.0" encoding="UTF-8"?>.......]
>
> Can anyone help me out in this regard.
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Basic-Request-Response-pattern-using-MQ-tp5579558p5579558.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
CamelOne 2012 Conference, May 15-16, 2012: http://camelone.com
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to