Hi Thanks for all your help.
i have exposed the soap web service through camel. Below is my code structure, it is consuming the message sent from soap ui. <endpoint> - soap endpoint configured in context file from wsdl all the files are generted. from("cxf:bean:<endpoint>) - exposed web service .choice() .when(header(CxfConstants.OPERATION_NAME).isEqualTo("sayHello")) .processRef("createProcessor") - .wireTap("externalactivemq:queue:<queue name>") .when(header(CxfConstants.OPERATION_NAME).isEqualTo("sayHi")) .processRef("deleteDeleteProcessor") .wireTap("externalactivemq:queue:<queue name") .end() .processref("responseprocessor") - created response xml, sent to the invoker of webservice. .stop() .end(); I have few issues facning from the above code 1) if active mq is down , then wireTap is not throwing connect exception. How to get connect exception? 2) Replacing wireTap with .to its working, but the response is sent to the client whatever the value is in the body (i.e input message) 2) web service client is getting the reponse xml in the cdata section. How to get the response xml correctly? Thanks in advance, Regards, Santosh -- View this message in context: http://camel.465427.n5.nabble.com/cxf-bean-producer-consumer-tp4761986p4778434.html Sent from the Camel Development mailing list archive at Nabble.com.