Oh, you are using the simple language of ${body} in the log.
You need to enable the stream caching[1] to make sure the other camel
endpoint can consume the message again.
[1] http://camel.apache.org/stream-caching.html
On 2/20/12 11:55 PM, wanggang1 wrote:
Hi Willem,
It works by removing both log routes,
from("jetty:http://localhost:8888/stockquote?matchOnUriPrefix=true")
.to("cxf://http://www.webservicex.net/stockquote.asmx?" +
"wsdlURL=src/main/resources/META-INF/wsdl/stockquote.wsdl&" +
"serviceName={http://www.webserviceX.NET/}StockQuote&" +
"portName={http://www.webserviceX.NET/}StockQuoteSoap&"
+
"dataFormat=MESSAGE");
Does this make any sense to you?
Thanks
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-cxf-question-tp5493680p5499495.html
Sent from the Camel - Users mailing list archive at Nabble.com.
--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
Weibo: willemjiang