Yeah, the JIRA is to help us to drop the line of removing header.

--  
Willem Jiang

Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem



On September 17, 2014 at 4:43:13 PM, BURN, James ([email protected]) wrote:
> Willem
>  
> Thanks for looking at this.
>  
> Adding the line seems to have worked and gives us the response we are 
> expecting.  
> I note from your entry on Camel JIRA that this has been raised/fixed as an 
> issue going forwards;  
> would we be able to drop the lines in future releases of Camel?
>  
> Kind regards.
>  
> James
>  
>  
>  
> -----Original Message-----
> From: Willem Jiang [mailto:[email protected]]
> Sent: 17 September 2014 04:09
> To: [email protected]
> Subject: Re: Issue with camel restlet route: response from solr URI isn't 
> passed back  
> to route
>  
> Hi,
>  
> I just wrote a simple test to reproduce the error[1]. It looks like you need 
> to remove the  
> header of "Transfer-Encoding” just like this
>  
>  
>  
>  
> > pattern="InOut"/>
>  
>  
>  
>  
> Restlet Test
>  
>  
>  
>  
>  
> [1]https://issues.apache.org/jira/browse/CAMEL-7830
>  
> --
> Willem Jiang
>  
> Red Hat, Inc.
> Web: http://www.redhat.com
> Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com 
> (Chinese)  
> Twitter: willemjiang
> Weibo: 姜宁willem
>  
>  
>  
> On September 16, 2014 at 9:58:34 PM, BURN, James ([email protected]) wrote:
> > Hi
> >
> > We are migrating our Camel routes to run through ServiceMix 5.1.1
> > which uses Camel 2.13.2
> >
> > We have noticed an issue with this version which doesn't appear in our
> > older versions (ServiceMix 4.5.3: Camel 2.10.7)
> >
> > Here's an example restlet route:
> >
> >
> > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> > xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.0.0";  
> > xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0
> > http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd
> > http://camel.apache.org/schema/blueprint
> > http://camel.apache.org/schema/blueprint/camel-blueprint.xsd";>
> >
> >
> >
> >
> > > pattern="InOut"/>
> >
> > Restlet Test
> >
> >
> >
> >
> >
> > When I run this in our old environment SM 4.5.3/Camel 2.10.7 we get a
> > response back (albeit a junk one depending on what the solr server
> > gives back)
> >
> > However with our new environment (SM5.1.1/Camel 2.13.2) requests for
> > localhost:8080/testURL give no response.
> >
> > This affects a large part of our system and is holding us from moving 
> > forwards with Camel.  
> >
> > I noted there was an issue a year ago:
> > http://camel.465427.n5.nabble.com/Setting-Body-in-restlet-route-withou  
> > t-to-does-not-work-td5732285.html though this seemed independent of a
> > call > I've tried to track through the change log between the 2
> > versions of Camel we are looking at but can't find anything what has
> > been added which we need to include to make this work.
> >
> > Any ideas well appreciated.
> >
> > Thanks
> >
> > James
> >
> >
> >
>  
>  

Reply via email to