camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (CAMEL-877) Access HttpRequest Params from exchange.in.header
Date Wed, 03 Sep 2008 12:43:52 GMT

     [ https://issues.apache.org/activemq/browse/CAMEL-877?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Claus Ibsen reassigned CAMEL-877:
---------------------------------

    Assignee: Claus Ibsen

> Access HttpRequest Params from exchange.in.header
> -------------------------------------------------
>
>                 Key: CAMEL-877
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-877
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-http, camel-jetty
>    Affects Versions: 1.4.0
>         Environment: Windows XP, Java 1.6.0_07
>            Reporter: A. Steven Anderson
>            Assignee: Claus Ibsen
>             Fix For: 1.5.0
>
>   Original Estimate: 1 hour
>  Remaining Estimate: 1 hour
>
> Currently, you can only get the http request parameters by using a getHttpRequest() on
the HttpExchange and thus you need java code and can't do it from the Spring XML configuration
using simple expression language. 
> e.g. if the request is http://localhost:8080/test?x=1, then the following route should
result in 1 being returned in the body of the html response:
> <route>
>    <from uri="jetty:http://localhost:8080/test" />
>    <setBody>
>       <simple><html><body>${in.header.x}</body></html></simple>
>    </setBody>
>    <to uri="mock:end"/>
> </route> 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message