camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <>
Subject Re: Camel Jetty Endpoint query
Date Wed, 27 Jun 2012 02:24:39 GMT

You can access the request object by looking up the message header with 
the name Exchange.HTTP_SERVLET_REQUEST like this in your processor

Message in = exchange.getIn();
Request request = (Request)in.getHeader(Exchange.HTTP_SERVLET_REQUEST);

On 6/26/12 10:08 PM, Navengit wrote:
> I have a Java Struts 1.1 based application which has a JSP which is sending
> an HTTP request to Jetty endpoint in my Camel application.
> I have an object set in  request.setAttribute.
> How to get this object in my camel processor?
> I am able to get the request parameters but not request attributes.
> I have tried both GET and POST but in vein.
> I will appreciate any reply on the same.
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

Blog: (English)
Twitter: willemjiang
Weibo: willemjiang

View raw message