On 1/7/11 8:23 AM, Kazi, Iftekhar wrote:
Is it possible to post a payload to a existing Servlet on another server using
Camel ?
Eg.
<route>
<from uri="direct:start" />
<to uri="xslt:sometransform.xsl"/>
<to uri="http://localhost:8080/myApp/ServletSample" />
Where http://localhost:8080/myApp/ServletSample is an existing Servlet ? Thanks
Absolutely yes.
camel-http component can send the request to the existing servlet.
Please make sure the servlet can be accessed locally.
--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.javaeye.com (Chinese)
Twitter: willemjiang