I noticed that Camel passes an HttpExchange from a Jetty endpoint to the
attached Processor, but that subsequent Processors get a DefaultExchange.
First question: is this designed/expected behaviour?
Then: would it be possible to keep the HttpExchange (instead of a
DefaultExchange) in subsequent Processors? What is needed to achieve this? 

The problem is, I need access to the HttpServletRequest and
HttpServletResponse stuff in subsequent Processors, but only HttpExchange
provides this.

See the attached test HttpExchangeTest.java which yields

#1: class org.apache.camel.component.http.HttpExchange
#2: class org.apache.camel.impl.DefaultExchange

http://www.nabble.com/file/p18809523/HttpExchangeTest.java
HttpExchangeTest.java 

-- 
View this message in context: 
http://www.nabble.com/HttpExchange-changes-to-DefaultExchange---expected--tp18809523s22882p18809523.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to