HttpRouter needs to be able to dynamically populate query string on per message basis
-------------------------------------------------------------------------------------
Key: JBESB-2515
URL:
https://jira.jboss.org/jira/browse/JBESB-2515
Project: JBoss ESB
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Reporter: Aaron Pestel
Priority: Minor
We need to be able to proxy generic HTTP requests. In this case, let's assume they
are OGC WMS/WFS requests. Here is an example:
http://lyceum.massgis.state.ma.us/wiki/doku.php?id=wfs:getfeature_url_filter
The basic idea is that a client makes an HTTP request like this:
http://server/wfs?request=getFeature&name=roads&bounds=323.32,334...
This request goes to a Web Feature Service and XML is returned with the geospatial
features. In the case of WMS, an image is returned (like GoogleEarth Network Link).
So, when the client makes this request to the ESB, the ESB needs to be able to capture the
query string (since that's really the request payload). Currently JBR/HTTP gateway
doesn't do this, but assumption is that the new Tomcat HTTP gateway will. When it
does, the HttpRouter will need to be able to append that query string to the URL it is
accessing for the real service implementation. Currently, the only way to get the
HttpRouter to do this is to write a custom HttpMethodFactory
(
https://support.redhat.com/portal/restricted/caseDetail.html?caseId=283475). That's
an ok workaround for now, but the end solution should not require code. There should be a
simple way to pass the query string from the HttpGateway to the HttpRouter without writing
code - similar to how the HttpRouter allows passing MappedHeaderList HTTP headers without
writing code.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira