camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mjelwood <>
Subject Re: XML file posting to Rest Service example
Date Thu, 24 May 2012 12:55:59 GMT
I changed the route up slightly:

      <from uri="file:\\localhost\FTPLand"/>
      *<convertBodyTo type="String"/>*
      <setHeader headerName="CamelHttpMethod">
      <to uri="cxfrs:http://localhost/s/restservice?httpClientAPI=true"
      <to uri="log:response"/>

Exception received:

org.apache.camel.component.cxf.CxfOperationException: JAXRS operation failed
invoking file://\\localhost\FTPLand\ with statusCode: 307, redirectLocation:

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message