I'm using the Jetty component to handle incoming http requests.  What's not
clear to me is how I access the request parameters from the incoming
message.  

I see that I could potentially cast the exchange in a processor to an
HttpExchange and get them that way.  But I'm not sure that is correct and it
only seems it would work in the first handler following the Jetty endpoint,
since the HttpExchange seems to be converted to a DefaultExchange in
subsequent processors.  

For example:
from("jetty:http://localhost:8888/test";).process(new Processor(){
    public void process(Exchange exchange) throws Exception {
        // is there something I can do here to access the request params?
    }                                   
})
-- 
View this message in context: 
http://www.nabble.com/Request-Parameters-from-Jetty-endpoint--tp14544973s22882p14544973.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to