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.

Reply via email to