camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erd <evanday...@gmail.com>
Subject Re: Handling header-less responses
Date Wed, 27 May 2015 18:42:56 GMT
Thanks for the reply. I should add that i'm using spring on camel 2.14 with
the regular http component.

here is the stacktrace, I hit the service with telnet, and it returned no
headers, so I am assuming that is the issue here. Furthermore, the service
that does have headers works fine. the header-less services throw: 

org.apache.commons.httpclient.ProtocolException: The server 192.168.x.xx
failed to respond with a valid HTTP response
	at
org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1987)
	at
org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735)
	at
org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098)
	at
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
	at
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
	at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
	at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
	at
org.apache.camel.component.http.HttpProducer.executeMethod(HttpProducer.java:244)
	at
org.apache.camel.component.http.HttpProducer.process(HttpProducer.java:144)
	at
org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61)
	at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:129)
	at
org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)
	at
org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:448)
	at
org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191)
	at org.apache.camel.processor.Pipeline.process(Pipeline.java:118)
	at org.apache.camel.processor.Pipeline.process(Pipeline.java:80)
	at
org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)
	at
org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:448)
	at
org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191)
	at org.apache.camel.processor.Pipeline.process(Pipeline.java:118)
	at org.apache.camel.processor.Pipeline.process(Pipeline.java:80)
	at
org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191)
	at
org.apache.camel.component.timer.TimerConsumer.sendTimerExchange(TimerConsumer.java:165) 



--
View this message in context: http://camel.465427.n5.nabble.com/Handling-header-less-responses-tp5767502p5767567.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message